Example #1
0
        /// <summary>
        /// Test conditionals are placed here.
        /// </summary>
        /// <param name="state"></param>
        /// <returns>true or false depending if transition conditions are met.</returns>
        public override string UpdateConditionalTest(baseState state)
        {
            string         strOut = null;
            ArtimechEditor theStateMachineEditor = (ArtimechEditor)state.m_UnityObject;

            if (theStateMachineEditor.GetLeftButtonNode() == null)
            {
                strOut = m_ChangeStateName;
            }

            return(strOut);
        }