Ejemplo n.º 1
0
        public void Reset()
        {
            //moveable.Reset(); // remove in v2
            ShoreControl fromShore = ((FirstControl)Diretor.getInstance().sceneCtrl).fromShore;

            GetOnShore(fromShore);
            item.transform.position = fromShore.GetEmptyPosition();
            fromShore.GetOnShore(this);
        }
Ejemplo n.º 2
0
 public static Diretor getInstance()
 {
     if (_instance == null)
     {
         return(_instance = new Diretor());
     }
     else
     {
         return(_instance);
     }
 }