public override void SetRoleType(RoleType roleType) { this.roleType = roleType; cameraState = UnityTools.AheadOrBack(roleType); for (int i = 0; i < transform.childCount; i++) { modelItemList.Add(transform.GetChild(i)); } }
public void SetRoleType(RoleType roleType) { this.roleType = roleType; cameraState = UnityTools.AheadOrBack(roleType); }