Пример #1
0
				private int previousScore = 0;			// The score in the previous frame.


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


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