예제 #1
0
		void Awake ()
		{
			_mover = GameObject.FindObjectOfType<MoveScene>();
			var swatch = GameObject.FindObjectOfType<ColourSwatch>();
			if (swatch != null)
				_colour = swatch.GetColour(PlayerPrefsManager.GetShipColour());
			else
				_colour = Color.white;
		}
예제 #2
0
		void Awake ()
		{
			_mover = GameObject.FindObjectOfType<MoveScene>();

			if (_overrideButton)
			{
				PlayerPrefsManager.SetShipUpgrade(_overrideTo);
			}

			_powerUp = PlayerPrefsManager.GetShipUpgrade();
		}
예제 #3
0
		void Awake ()
		{
			_mover = GameObject.FindObjectOfType<MoveScene>();
			_gameManager = GameObject.FindObjectOfType<GameManager>();	
		}
예제 #4
0
		void Awake ()
		{
			_mover = GameObject.FindObjectOfType<MoveScene>();
			_rocket = GameObject.FindObjectOfType<A_Rocket>();
		}