Beispiel #1
0
    void Awake()
    {
        roundManager = roundManagerObj.GetComponent <Round_Manager> ();

        roundText     = roundObj.GetComponent <Text> ();
        timeText      = timeObj.GetComponent <Text> ();
        pointsText    = pointsObj.GetComponent <Text> ();
        animalsText   = animalsObj.GetComponent <Text> ();
        centerText    = centerObj.GetComponent <Text> ();
        powerupText   = powerupNameObj.GetComponent <Text> ();
        powerupSlider = powerupSliderObj.GetComponent <Slider> ();
    }
 // Use this for initialization
 void Start()
 {
     roundManager       = roundManagerObj.GetComponent <Round_Manager> ();
     firebaseController = roundManagerObj.GetComponent <Firebase_Leaderboard_Controller> ();
     StartCoroutine("setLeaderboardCoroutine");
 }
 // Use this for initialization
 void Start()
 {
     roundManager = roundManagerObj.GetComponent <Round_Manager> ();
 }