Пример #1
0
 void Start()
 {
     _pointSystemScript = GetComponent <PointSystemScript>();
 }
Пример #2
0
 // Use this for initialization
 void Start()
 {
     Invoke("CreateObjective", 0.1f);
     _UIManagerScript = UIManager.GetComponent <UIManager>();
     _pointSystem     = GameObject.FindGameObjectWithTag("Canvas").GetComponent <PointSystemScript>();
 }