public void Reset() { dependencyMap = new DependencyMap(); memberEvaluator = new MemberEvaluator(attributeCache, dependencyMap); RegisterDefaultDependencyResolvers(); GameObjectInjector.ResetVisited(); }
public void Reset() { counter++; if (counter > 1) { Debug.LogError(nameof(DependencyContainer) + " called more than once"); } dependencyMap = new DependencyMap(); memberEvaluator = new MemberEvaluator(attributeCache, dependencyMap); RegisterDefaultDependencyResolvers(); GameObjectInjector.ResetVisited(); }