public static void Add(PathType pathType, BaseResPath baseResPath) { _resMap.Add(pathType, baseResPath); }
public static T Get <T>(PathType pathType) where T : BaseResPath { BaseResPath path = Get(pathType); return(path as T); }