コード例 #1
0
        private void LiveDebugging_SendControllerNameToEditor(string subtypeName)
        {
            var msg = new MyExternalDebugStructures.ACConnectToEditorMsg()
            {
                ACName = subtypeName
            };

            MySessionComponentExtDebug.Static.SendMessageToClients(msg);
        }
コード例 #2
0
        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;
            }
        }
コード例 #3
0
 private void LiveDebugging_SendControllerNameToEditor(string subtypeName)
 {
     var msg = new MyExternalDebugStructures.ACConnectToEditorMsg()
     {
         ACName = subtypeName
     };
     MySessionComponentExtDebug.Static.SendMessageToClients(msg);
 }