//skill message public void SkillMessage(string args) { if (IsDie()) { return; } // #if UNITY_EDITOR // if( EditorApplication.currentScene == "ActionEditor" ) // { // return; // } // #endif string[] msg_args = args.Split(';'); StateBase state = this.m_cStateControl.GetCurrentState(); if (state != null && state.GetStateType() == STATE_TYPE.STATE_SKILL) { SkillState skillState = (SkillState)state; skillState.SetMessage(msg_args); } }