몬스터 에셋 깨진파일들 변경
- 임포트 새롭게 하여 변경
This commit is contained in:
@@ -34,7 +34,7 @@ namespace Assets.PixelFantasy.PixelMonsters.Common.Scripts.ExampleScripts
|
||||
var state = _animation.GetState();
|
||||
|
||||
if (state == MonsterState.Die) return;
|
||||
|
||||
|
||||
var velocity = _rigidbody.velocity;
|
||||
|
||||
if (Input.x == 0)
|
||||
@@ -57,7 +57,7 @@ namespace Assets.PixelFantasy.PixelMonsters.Common.Scripts.ExampleScripts
|
||||
velocity.x = Mathf.MoveTowards(velocity.x, Input.x * maxSpeed, acceleration * Time.fixedDeltaTime);
|
||||
Turn(velocity.x);
|
||||
}
|
||||
|
||||
|
||||
if (IsGrounded)
|
||||
{
|
||||
if (!_jump)
|
||||
|
||||
Reference in New Issue
Block a user