コード例 #1
0
ファイル: CompoundView.cs プロジェクト: mkecman/GameOne
    private void OnCompoundSelected(CompoundSelectMessage value)
    {
        Outline.enabled = _compound.Index == value.Index;

        /*
         * if( Outline.enabled )
         *  SetState( value.State );
         */
    }
コード例 #2
0
ファイル: CompoundView.cs プロジェクト: mkecman/GameOne
 public override void OnDestroy()
 {
     base.OnDestroy();
     _compound = null;
     _compoundControlMessage = null;
     _compoundSelectMessage  = null;
     _buttonStream           = null;
     GameMessage.StopListen <CompoundSelectMessage>(OnCompoundSelected);
 }