Exemplo n.º 1
0
        public void SetVelocityEightway(Vector2 direction, float speed)
        {
            var dir8way = direction.AlignToEightWay();

            SetVelocity(dir8way, speed);
        }