Beispiel #1
0
				private int previousScore = 0;			// The score in the previous frame.


				void Awake ()
				{
						// Setting up the reference.
						playerControl = GameObject.FindGameObjectWithTag ("Player").GetComponent<PlayerEffects> ();
				}
Beispiel #2
0
        private int previousScore = 0;                                  // The score in the previous frame.


        void Awake()
        {
            // Setting up the reference.
            playerControl = GameObject.FindGameObjectWithTag("Player").GetComponent <PlayerEffects> ();
        }