示例#1
0
 void Start()
 {
     energia = energiaP;
     valorIntento = valorIntentoP;
     valorAyuda = valorAyudaP;
     gameDataRef = GetComponent<GameData>();
     estadoActivo = new StateLogin (this);
 }
示例#2
0
 public void SwitchState(InterfacesStados estadoNuevo)
 {
     estadoActivo = estadoNuevo;
 }
示例#3
0
 void Start()
 {
     gameDataRef = GetComponent<GameData>();
     estadoActivo = new StateRegister (this);
 }