private void LiveDebugging_SendControllerNameToEditor(string subtypeName) { var msg = new MyExternalDebugStructures.ACConnectToEditorMsg() { ACName = subtypeName }; MySessionComponentExtDebug.Static.SendMessageToClients(msg); }
private void SendControllerNameToEditor() { if (MySessionComponentExtDebug.Static == null || MySession.Static.LocalCharacter == null || MySession.Static.LocalCharacter.Definition.AnimationController == null || MySession.Static.LocalCharacter.AnimationController.Controller == null) { return; } var msg = new MyExternalDebugStructures.ACConnectToEditorMsg() { ACName = MySession.Static.LocalCharacter.Definition.AnimationController }; m_lastAnimationControllerName = msg.ACName; MySessionComponentExtDebug.Static.SendMessageToClients(msg); if (!MySessionComponentExtDebug.Static.IsHandlerRegistered(ReceivedMessageHandler)) { MySessionComponentExtDebug.Static.ReceivedMsg += ReceivedMessageHandler; } }
private void LiveDebugging_SendControllerNameToEditor(string subtypeName) { var msg = new MyExternalDebugStructures.ACConnectToEditorMsg() { ACName = subtypeName }; MySessionComponentExtDebug.Static.SendMessageToClients(msg); }