Example #1
0
 void Awake()
 {
     if (inst != null)
     {
         return;
     }
     inst = this;
 }
Example #2
0
 void Start()
 {
     construir = ColocaTorre.inst;
 }
Example #3
0
 void Start()
 {
     rend       = GetComponent <Renderer> ();
     corInicial = rend.material.color;
     construir  = ColocaTorre.inst;
 }