Пример #1
0
    // Use this for initialization
    void Start()
    {
        UIScript = GameObject.FindObjectOfType <UIEndGame>();

        destructionScore      = 0f;
        scoreJauge.fillAmount = 0f;
    }
Пример #2
0
    // Use this for initialization
    void Start()
    {
        UIScript = GameObject.FindObjectOfType <UIEndGame>();

        wasteArray = null;
        timer      = 0f;
        timeSinceLastDestruction = 0f;
    }
Пример #3
0
 void Start()
 {
     UIScript = GameObject.FindObjectOfType <UIEndGame>();
 }