void Awake()
 {
     _instance   = this;
     rankSprites = new Sprite[] { norankBadge, officerBadge, captainBadge, majorBadge, generalBadge };
 }
示例#2
0
 public void Start()
 {
     rank = new Rank();
     commanderDataObject = FindObjectOfType <CommanderDataObject>();
     units = new List <Unit>();
 }