Beispiel #1
0
        // TODO 是否可以优化
        public void Init()
        {
            int index = ResPath.LastIndexOf('/');

            if (index < 0)
            {
                ResName = ResPath;
            }
            else
            {
                ResName = ResPath.Substring(index + 1);
            }
        }