void Awake()
        {
            /* TODO: DEVELOPER CODING EXERCISE 3.a */

            // 3.a: GetComponent GazeStabilizer and assign it to gazeStabilizer.
            gazeStabilizer = GetComponent <GazeStabilizer>();
        }
Exemple #2
0
        void Awake()
        {
            /* TODO: DEVELOPER CODING EXERCISE 3.a */

            // 3.a: GetComponent GazeStabilizer and assign it to gazeStabilizer.
            // Based on how GetComponent is used here, I think it uses an implicit 'this' (ie. this gameobject)
            gazeStabilizer = GetComponent <GazeStabilizer>();
        }
Exemple #3
0
 void Awake()
 {
     gazeStabilizer = GetComponent <GazeStabilizer>();
 }