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