Esempio n. 1
0
    private void OnCompoundSelected(CompoundSelectMessage value)
    {
        Outline.enabled = _compound.Index == value.Index;

        /*
         * if( Outline.enabled )
         *  SetState( value.State );
         */
    }
Esempio n. 2
0
 public override void OnDestroy()
 {
     base.OnDestroy();
     _compound = null;
     _compoundControlMessage = null;
     _compoundSelectMessage  = null;
     _buttonStream           = null;
     GameMessage.StopListen <CompoundSelectMessage>(OnCompoundSelected);
 }