Esempio n. 1
0
 public void Initialize() {
     _unitCmd = gameObject.GetSingleComponentInChildren<AUnitCmdItem>();
     SyncUserRelationsFieldsTo(_unitCmd.Owner.UserRelations);
     AssignOwnerName();
     Subscribe();
     EnableDebugCntlInEditor = true;
 }
Esempio n. 2
0
 public FormationGenerator(AUnitCmdItem unitCmd) {
     _unitCmd = unitCmd;
 }