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