Beispiel #1
0
    public void StartCustomMatching()
    {
        int tMap;
        int tMode;

        if (int.TryParse(ipf_map.text, out tMap) && int.TryParse(ipf_mode.text, out tMode))
        {
            ServerEvents.StartMatching(tMap, tMode, 0);
        }
        else
        {
            Debug.LogErrorFormat("参数错误");
        }
    }
Beispiel #2
0
 public void StartQuickMatching()
 {
     ServerEvents.StartMatching(-1, -1, -1);
 }