void Awake() { Instance = this; dependencyDictionary = new Dictionary <IDependentScript, List <ILoadableScript> >(); reverseDependencyDict = new Dictionary <ILoadableScript, List <IDependentScript> >(); GenerateDependencyDicts(); }
//reference this only version as ScriptDependencyManager.Instance private void Awake() { Instance = this; }