修复状态机
This commit is contained in:
@@ -74,6 +74,8 @@ namespace NBF
|
||||
|
||||
public void InitPlayer(MapUnitInfo unitInfo)
|
||||
{
|
||||
PreviousState = PlayerState.None;
|
||||
State = PlayerState.Idle;
|
||||
AddComponent<PlayerView>();
|
||||
AddComponent<PlayerStateView>();
|
||||
if (unitInfo.Id == RoleModel.Instance.Id)
|
||||
|
||||
Reference in New Issue
Block a user