Exemple #1
0
 // -------------------------------------------------------------------------------
 // BuildCache
 // -------------------------------------------------------------------------------
 public static void BuildCache(bool forced = false)
 {
     if (_data == null || forced)
     {
         _data = new SkillTemplateDictionary(SkillTemplate._folderName);
     }
 }
Exemple #2
0
        // -------------------------------------------------------------------------------
        // OnEnable
        // -------------------------------------------------------------------------------
        public void OnEnable()
        {
            if (_folderName != folderName)
            {
                _folderName = folderName;
            }

            _data = null;
        }