Пример #1
0
 void Awake()
 {
     if (instance != null)
     {
         Debug.LogError("There is more build manager in the scene !");
         return;
     }
     instance = this;
 }
Пример #2
0
 private void Start()
 {
     buildManager = turretBuildManager.instance;
 }
Пример #3
0
 void Start()
 {
     rend         = GetComponent <Renderer>();
     startColor   = rend.material.color;
     buildManager = turretBuildManager.instance;
 }