예제 #1
0
 // Use this for initialization
 void Start()
 {
     playerController = GetComponent<PlayerController>();
     dude = playerController.GetComponent<Dude>();
     greedTimerText = playerController.FindGreedTimerText (playerController.gameObject.name);
     boostTimerText = playerController.FindBoostTimerText (playerController.gameObject.name);
     wallDemoTimerText = playerController.FindWallDemoTimerText (playerController.gameObject.name);
     invisibilityCooldownTimerText = playerController.FindInvisibilityTimerText (playerController.gameObject.name);
     greedTimerText.gameObject.SetActive (false);
     boostTimerText.gameObject.SetActive (false);
     wallDemoTimerText.gameObject.SetActive (false);
     invisibilityCooldownTimerText.gameObject.SetActive (false);
 }