protected override void OnCreate() { m_PhysicsWorldSystem = World.GetOrCreateSystem <PhysicsWorldSystem>(); m_DebugStreamSystem = World.GetOrCreateSystem <PhysicsDebugStreamSystem>(); RequireSingletonForUpdate <PhysicsDebugDisplay>(); }
protected override void OnCreate() { m_PhysicsWorldSystem = World.GetOrCreateSystem <PhysicsWorldSystem>(); m_DebugStreamSystem = World.GetOrCreateSystem <PhysicsDebugStreamSystem>(); RequireSingletonForUpdate <PhysicsDebugDisplay>(); }