예제 #1
0
 public override IEnumerable<Barebones.Dependencies.IDependency> GetDependencies()
 {
     yield return new Dependency<PhysicsComponent>(item => m_Physics = item);
     yield return new Dependency<Recrutable>(item => m_Recrutable = item);
     yield return new Dependency<JointComponent>(item => m_Joint = item);
     yield return new Dependency<GameplayManager>(item => m_GM = item);
 }
예제 #2
0
 public override IEnumerable<Barebones.Dependencies.IDependency> GetDependencies()
 {
     yield return new Dependency<GameplayManager>(item => m_GM = item);
     yield break;
 }