Esempio n. 1
0
    public void CmdPlatformServerExec(PlatformCommand cmd, string arg)
    {
        NetController ctrl = FindObjectOfType <NetController>();

        if (cmd == PlatformCommand.ContentStarted)
        {
            RpcGameAlreadyStart();
            if (ctrl)
            {
                ctrl.GameAlreadyStarted();
            }
        }
        else if (cmd == PlatformCommand.ContentStoped)
        {
            RpcGameAlreadyStop();
            if (ctrl)
            {
                ctrl.GameAlreadyStoped();
            }
        }
    }
Esempio n. 2
0
 public void CmdPlatformServerExec(PlatformCommand cmd, string arg)
 {
     //客户端不需要实现
 }