void Awake() { this.manageProcUI = ReferenceBuffer.Instance.ManageProcUI; ///Every two seconds check for destroyed monos and send message to <see cref="GenerateUpdateAndDisplayTargetSpeceficUI"> to remove them from the UI. InvokeRepeating("PruneDestroyedMonoBehaviurs", 1, 2); this.registry = new TargetRegistry(); this.selector = new TargetSelector(this.registry.Targets); this.attacher = new TargetAttacher(selector.Target); }
public void SetUp(UiMonoGroupInformation monoGroup, GenerateUpdateAndDisplayTargetSpeceficUI manageButtons) { this.monoGroup = monoGroup; this.manageButtons = manageButtons; }