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


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


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