示例#1
0
 void Update()
 {
     _movable.Move(Vector2.down);
 }
示例#2
0
        void Update()
        {
            var direction = new Vector2(_joystik.Horizontal, 0);

            _movable.Move(direction);
        }