36 lines
836 B
C#
36 lines
836 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class Character
|
|
{
|
|
/// <summary>
|
|
/// 角色名称
|
|
/// </summary>
|
|
public string name{get; set;}
|
|
/// <summary>
|
|
/// 职业
|
|
/// </summary>
|
|
public string occupation{get; set;}
|
|
/// <summary>
|
|
/// 突破等级
|
|
/// </summary>
|
|
public string boundaryLevel{get; set;}
|
|
/// <summary>
|
|
/// 技能名称
|
|
/// </summary>
|
|
public string SkillName{get; set;}
|
|
/// <summary>
|
|
/// 是否为队长
|
|
/// </summary>
|
|
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;
|
|
}
|
|
}
|