Learning C# by Developing Games with Unity 3D Beginner's Guide
上QQ阅读APP看书,第一时间看更新

Working with C# script files

Until you learn some basic programming concepts, it's too early to study how scripts work, but we still need to know how to create one.

There are several ways to create a script file using Unity:

  • In the menu navigate to Assets | Create | C# Script

    Or

  • In the Project tab navigate to Create | C# Script

    Or

  • In the Project tab right-click , from the pop-up menu navigate to Create | C# Script
    Note

    From now on, when I tell you to create a C# script, please use which ever method you prefer.