Esempio n. 1
0
    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;
    }