Exemplo n.º 1
0
    //-----------------------------------------------------------------------------------------------------------------------//

    //-- 오브젝트  조작 -----------------------------------------------------------------------------------------------------//
    // :: 로봇 조종
    void ObjectRoboDriveControlCheck()
    {
        if (BitControl.Get(m_curState, (int)HERO_STATE.CONTROL_DRIVE))
        {
            if (string.IsNullOrEmpty(GameManager.Instance().ROBO.MOVE_PLYAER))
            {
                NetworkManager.Instance().SendOrderMessage(JSONMessageTool.ToJsonOrderRobotSetting());
            }
            else
            {
                //탈출
                NetworkManager.Instance().SendOrderMessage(JSONMessageTool.ToJsonOrderRobotSetting(false));
            }
        }
    }