Beispiel #1
0
    // 取路径 非更新
    private string GetPath(ResourceType type)
    {
        string path = "";

        if (type == ResourceType.None)
        {
            return(path);
        }
        path = UNString.LinkString(type.ToString(), Path.DirectorySeparatorChar);
        return(path);
    }
Beispiel #2
0
    public TKey GetKey(int index)
    {
        TKey key = default(TKey);

        if (m_keys.Count > index)
        {
            key = m_keys[index];
        }
        else
        {
            UNDebug.LogError(UNString.LinkString("EZFunDictionary index ", index.ToString(), "error"));
        }
        return(key);
    }