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);
        }
Esempio n. 2
0
 public HighlighterTernary(IHighlightableTernary highlightalbeT, GameObject gOToWatch1, GameObject gOToWatch2)
 {
     this.highlitableT            = highlightalbeT;
     this.firstGameObject         = gOToWatch1;
     this.secondGameObject        = gOToWatch2;
     this.onObjectClickedListener = EventPublisher.RegisterListener <EIObjectClicked <GameObject> >(onObjectClicked);
 }