Example #1
0
        void DoTheMethod()
        {
            var go = Fsm.GetOwnerDefaultTarget(gameObject);

            if (go == null)
            {
                return;
            }

            direction = theScript.DirectionToPos(xPos.Value);
        }