// ------------------------------------------------------------------------------- // BuildCache // ------------------------------------------------------------------------------- public static void BuildCache(bool forced = false) { if (_data == null || forced) { _data = new ArchetypeTemplateDictionary(ArchetypeTemplate._folderName); } }
// ------------------------------------------------------------------------------- // OnEnable // ------------------------------------------------------------------------------- public void OnEnable() { if (_folderName != folderName) { _folderName = folderName; } _data = null; }