예제 #1
0
    public void ClearState()
    {
        hand    = PlayerTool.Hand.None;
        trigger = 0f;

        touchX = 0f;
        touchY = 0f;

        touch      = false;
        touchClick = false;

        gripButton = false;

        cleared = true;
    }
예제 #2
0
    // Private / Protected Client-Side Variables

    // Private Server-Side Variables

    public void UpdateState(DC_AvatarSync_Handle handle)
    {
        hand    = handle.hand;
        trigger = handle.trigger;

        touchX = handle.touchX;
        touchY = handle.touchY;

        touch      = handle.touch;
        touchClick = handle.touchClick;

        gripButton = handle.gripButton;

        cleared = false;
    }