示例#1
0
    void Start()
    {
        rend       = GetComponent <Renderer>();
        startColor = rend.material.color;

        buildMana = BuildMana.instace;
    }
示例#2
0
 void Awake()
 {
     if (instace != null)
     {
         Debug.LogError("Mas de un administrador de edicion en escena");
         return;
     }
     instace = this;
 }
示例#3
0
 void Start()
 {
     buildMana = BuildMana.instace;
 }