public void StartLocateNeobox() { if (state != OpState.LOCATE_NEOBOX) { // change state SetState(OpState.LOCATE_NEOBOX); // start to place Helper.TreeEnableRenderer(neoboxPlaceholder); TapToPlace ttp = neoboxPlaceholder.GetComponent <TapToPlace>(); ttp.SendMessage("OnSelect", SendMessageOptions.DontRequireReceiver); } }
public void StartLocateSurfaceBook() { if (state != OpState.LOCATE_SURFACE_BOOK) { // change state SetState(OpState.LOCATE_SURFACE_BOOK); // start to place Helper.TreeEnableRenderer(surfaceBookPlaceholder); TapToPlace ttp = surfaceBookPlaceholder.GetComponent <TapToPlace>(); ttp.SendMessage("OnSelect", SendMessageOptions.DontRequireReceiver); } }