using System.Collections; using System.Collections.Generic; using UnityEngine; public class Character { /// /// 角色名称 /// public string name{get; set;} /// /// 职业 /// public string occupation{get; set;} /// /// 突破等级 /// public string boundaryLevel{get; set;} /// /// 技能名称 /// public string SkillName{get; set;} /// /// 是否为队长 /// public bool isLeader{get; set;} public Character(string name, string occupation, string boundaryLevel, string skillName) { this.name = name; this.occupation = occupation; this.boundaryLevel = boundaryLevel; this.SkillName = skillName; } }