예제 #1
0
 private void OnCommandStateResolve(CommandSpec spec, ref CommandState state)
 {
     if (spec is EnumCommandSpec <TCmdEnum> )
     {
         m_CommandState?.Invoke((spec as EnumCommandSpec <TCmdEnum>).Value, ref state);
     }
 }
예제 #2
0
 private void OnCommandClick(CommandSpec spec)
 {
     if (spec is EnumCommandSpec <TCmdEnum> )
     {
         m_CommandClick?.Invoke((spec as EnumCommandSpec <TCmdEnum>).Value);
     }
 }