コード例 #1
0
 // -------------------------------------------------------------------------------
 // BuildCache
 // -------------------------------------------------------------------------------
 public static void BuildCache(bool forced = false)
 {
     if (_data == null || forced)
     {
         _data = new ArchetypeTemplateDictionary(ArchetypeTemplate._folderName);
     }
 }
コード例 #2
0
        // -------------------------------------------------------------------------------
        // OnEnable
        // -------------------------------------------------------------------------------
        public void OnEnable()
        {
            if (_folderName != folderName)
            {
                _folderName = folderName;
            }

            _data = null;
        }