示例#1
0
 // Use this for initialization
 void Awake()
 {
     if (instance == null)
     {
         instance        = this;
         m_commandRunner = new CGCommandRunner(this);
         //CardVisual.SetHotspots(m_playerDeck, m_opponentDeck, m_focusZone, m_playerHand, m_opponentHand, m_playerChannels, m_opponentChannels);
     }
     else
     {
         Destroy(gameObject);
     }
 }
示例#2
0
文件: CGCommand.cs 项目: Nin1/2D-RPG
 public void SetCommandRunner(CGCommandRunner runner)
 {
     m_commandRunner = runner;
 }