public void Display(TapValue value)
 {
     if (m_debug && value != null)
     {
         m_debug.text = value.ToString() + "\n" + m_debug.text;
     }
 }
예제 #2
0
    private ComboTowhatToWay CheckForCorresponding(TapValue value)
    {
        if (value == null)
        {
            return(null);
        }
        ComboTowhatToWay[] combos = m_comboWithUsToSaying.Where(k => value.m_combo == k.m_combo.m_combo).ToArray();

        Debug.Log("Try " + combos.Length + " " + value.ToString());
        if (combos.Length > 0)
        {
            return(combos[0]);
        }
        return(null);
    }