Exemple #1
0
 static uFrameMVVM()
 {
     InvertApplication.CacheTypeAssembly(typeof(uFrameMVVM).Assembly);
     // FIXME: Unity 2017.2 allows custom assembly definitions
     foreach (Assembly assembly in AppDomain.CurrentDomain.GetAssemblies().Where(p => p.FullName.StartsWith("Assembly")))
     {
         InvertApplication.CacheTypeAssembly(assembly);
     }
 }
 static UnityPlatformPlugin()
 {
     InvertApplication.CacheAssembly(typeof(UnityPlatformPlugin).Assembly);
     InvertApplication.CacheAssembly(typeof(Vector3).Assembly);
     InvertApplication.CacheTypeAssembly(typeof(Vector3).Assembly);
     InvertGraphEditor.Prefs          = new UnityPlatformPreferences();
     InvertApplication.Logger         = new UnityPlatform();
     InvertGraphEditor.Platform       = new UnityPlatform();
     InvertGraphEditor.PlatformDrawer = new UnityDrawer();
 }
 static EcsTemplates()
 {
     InvertApplication.CacheAssembly(typeof(EcsTemplates).Assembly);
     InvertApplication.CacheAssembly(typeof(UFAction).Assembly);
     InvertApplication.CacheTypeAssembly(typeof(UFAction).Assembly);
 }