Beispiel #1
0
    public void SendAttackRequest(WM_party enemyParty)
    {
        Debug.Log("Sending request to attack by " + gameObject.name);
        WM_CombatManager CM = WM_CombatManager.instance;

        CM.BattleRequest(this, enemyParty);
    }
Beispiel #2
0
 public void Awake()
 {
     if (instance == null)
     {
         instance = this;
     }
     if (instance != this)
     {
         Debug.Log("More than 1 instance on WM_CombatManager");
     }
 }