public void Represent(IInteractive interactive, DropZone zone) { this.interactive = interactive; this.zone = zone; highlight = gameObject.AddComponent <Highlight>(); interactive.Observe(Toggle); }
public void Represent(IInteractive interactive) { this.interactives.Add(interactive); interactive.Observe(UpdateHighlights); }