public void RemoveSelf() { TouchMove tm = TouchMoveManager.GetShipBuild(this); if (tm != null) { tm.DestroyShipBuild(); } }
public static TouchMove GetTouchMoveByCore(CanvasCore core) { TouchMove tm = TouchMoveManager.GetShipBuild(core); if (tm != null) { return(tm); } return(null); }
public static Transform GetTransformByCore(CanvasCore core) { Transform t = null; TouchMove tm = TouchMoveManager.GetShipBuild(core); if (tm != null) { return(tm.gameObject.transform); } return(t); }