导入敌人模型素材,统一经验和金币掉落物
This commit is contained in:
@@ -39,11 +39,10 @@ namespace SepCore.Components
|
||||
public void SetMove(bool canMove)
|
||||
{
|
||||
_canMove = canMove;
|
||||
if (!canMove)
|
||||
{
|
||||
_direction = Vector3.zero;
|
||||
SetWalking(false);
|
||||
}
|
||||
if (canMove) return;
|
||||
|
||||
_direction = Vector3.zero;
|
||||
SetWalking(false);
|
||||
}
|
||||
|
||||
public void SetDirection(Vector3 direction)
|
||||
|
||||
Reference in New Issue
Block a user