Exemplo n.º 1
0
    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);
    }
Exemplo n.º 2
0
 public void SetUp(UiMonoGroupInformation monoGroup, GenerateUpdateAndDisplayTargetSpeceficUI manageButtons)
 {
     this.monoGroup     = monoGroup;
     this.manageButtons = manageButtons;
 }