protected override void SetUserData(TimeUnitUserData data) { UserData d = data as UserData; if (d == null) { return; } if (!d.IsDead && IsDead) { EnableCollider(true); gameObject.layer = 0; Represent.Revive(); } TurnRound(d.dir); IsDead = d.IsDead; CurrentStateType = d.CurrentStateType; State.SetUserData(d.StateData); Represent.Reset(); }