Example #1
0
 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));
     }
 }
Example #2
0
 public void SetRoleType(RoleType roleType)
 {
     this.roleType = roleType;
     cameraState   = UnityTools.AheadOrBack(roleType);
 }