Skip navigation

Attaching a script

Attaching a script: Unity: Scripting with C#
Attaching a script: Unity: Scripting with C#

Join for an in-depth discussion in this video Attaching a script, part of Unity: Scripting with C#.

Resume Transcript Auto-Scroll
Skill Level Intermediate
1h 19m
Duration
199,769
Views
Show More Show Less

Q: Why am I getting a script compile error when trying to load the exercise files?

A: This course was recorded in Unity 4.6, and Unity has since released Unity 5. There are two items to address for Unity 5 users. 

First, you'll need to update the scripts when Unity prompts you to. Alternatively, you can load projects from the Unity 5 folder inside of the exercise files.
Second, when you import the Sample Assets (beta) for Unity 4.6 from the Unity Store, deselect or delete the WaterHoseParticles.cs file from the SampleAssets/Effects/ParticleSystems/scripts folder. This script is currently incompatible with Unity 5.

Q: Why can't  I see the Render Settings option in the Edit menu?

A: The Render Settings options have been moved in Unity 5. You can access them by going to the Window menu and choosing Lighting. In the window that loads, Render Settings can be found under the Scene tab.

Skills covered in this course
Developer Games Programming Languages Unity

Continue Assessment

You started this assessment previously and didn't complete it. You can pick up where you left off, or start over.

Start Your Free Trial Now

Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now