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); }
public static Diretor getInstance() { if (_instance == null) { return(_instance = new Diretor()); } else { return(_instance); } }