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); }
public override IEnumerable<Barebones.Dependencies.IDependency> GetDependencies() { yield return new Dependency<GameplayManager>(item => m_GM = item); yield break; }