Exemplo n.º 1
0
    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);
        }
    }
Exemplo n.º 2
0
    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);
        }
    }