public EdgeAvatarHighlightable(IEdgeAvatar edgeAvatar, IHighlightableTernary highlightableT) : base(edgeAvatar) { GameObject sourceGO = this.edgeAvatar.GetSourceGameObject(); GameObject targetGO = this.edgeAvatar.GetTargetGameObject();; this.highlighter = new HighlighterTernary(highlightableT, sourceGO, targetGO); }
public HighlighterTernary(IHighlightableTernary highlightalbeT, GameObject gOToWatch1, GameObject gOToWatch2) { this.highlitableT = highlightalbeT; this.firstGameObject = gOToWatch1; this.secondGameObject = gOToWatch2; this.onObjectClickedListener = EventPublisher.RegisterListener <EIObjectClicked <GameObject> >(onObjectClicked); }