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(); } } }
public void CmdPlatformServerExec(PlatformCommand cmd, string arg) { //客户端不需要实现 }