Beispiel #1
0
        public void Reset()
        {
            dependencyMap   = new DependencyMap();
            memberEvaluator = new MemberEvaluator(attributeCache, dependencyMap);

            RegisterDefaultDependencyResolvers();
            GameObjectInjector.ResetVisited();
        }
Beispiel #2
0
 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();
 }