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