A system that could automatically resolve requirements (dependencies) for your objects using attributes that tell it how to resolve those requirements Annotate your object (System.Object or BetterBehaviour) with [HasRequirements] to let the system know that this object has requirements and needs them resolved The system could be triggered automatically on editor update in a certain interval specified in Startup.ResolveInterval (see below) - defaults to 1 sec or manually (use Tools/Vexe/Requirements to toggle between auto/manual) To resolve requirements manually, you have to collapse the "Script" header foldout of your behavior, and click the resolve button (the button won't appear if your object isn't annotated with HasRequirements) PS: the system picks up serializble members only
Example #1
0
 public static void ResolveSceneRequirments()
 {
     Profiler.BeginSample("ResolveSceneReq");
     Requirements.ResolveScene();
     Profiler.EndSample();
 }
 public static void ResolveSceneRequirments()
 {
     UnityEngine.Profiling.Profiler.BeginSample("ResolveSceneReq");
     Requirements.ResolveScene();
     UnityEngine.Profiling.Profiler.EndSample();
 }