Esempio n. 1
0
        public virtual void ServerDoLerpAnimation(Vector2 dir)
        {
            rotatable.SetFaceDirectionLocalVictor(dir.To2Int());

            isActing = true;
            MobMeleeLerpMessage.Send(gameObject, dir);
            StartCoroutine(WaitForLerp());
        }
        public virtual void ServerDoLerpAnimation(Vector2 dir)
        {
            directional.FaceDirection(Orientation.From(dir));

            Pause    = true;
            isActing = true;
            MobMeleeLerpMessage.Send(gameObject, dir);
            StartCoroutine(WaitForLerp());
        }