Skip to content
This repository has been archived by the owner on Jan 18, 2022. It is now read-only.

Commit

Permalink
A few more, obsolete calls (#974)
Browse files Browse the repository at this point in the history
  • Loading branch information
zeroZshadow authored Jun 11, 2019
1 parent 34c5041 commit 8708f8b
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ public class DefaultApplyLatestTransformSystem : ComponentSystem
private EntityQuery rigidbodyGroup;
private EntityQuery transformGroup;

protected override void OnCreateManager()
protected override void OnCreate()
{
base.OnCreateManager();
base.OnCreate();

rigidbodyGroup = GetEntityQuery(
ComponentType.ReadOnly<Rigidbody>(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ public class DefaultUpdateLatestTransformSystem : ComponentSystem
private EntityQuery rigidbodyGroup;
private EntityQuery transformGroup;

protected override void OnCreateManager()
protected override void OnCreate()
{
base.OnCreateManager();
base.OnCreate();

rigidbodyGroup = GetEntityQuery(
ComponentType.ReadOnly<Rigidbody>(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ public class DirectTransformUpdateSystem : ComponentSystem

private EntityQuery transformGroup;

protected override void OnCreateManager()
protected override void OnCreate()
{
base.OnCreateManager();
base.OnCreate();

worker = World.GetExistingSystem<WorkerSystem>();
updateSystem = World.GetExistingSystem<ComponentUpdateSystem>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ public class GetTransformValueToSetSystem : ComponentSystem

private EntityQuery transformGroup;

protected override void OnCreateManager()
protected override void OnCreate()
{
base.OnCreateManager();
base.OnCreate();

worker = World.GetExistingSystem<WorkerSystem>();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ public class InterpolateTransformSystem : ComponentSystem
private ComponentUpdateSystem updateSystem;
private EntityQuery interpolationGroup;

protected override void OnCreateManager()
protected override void OnCreate()
{
base.OnCreateManager();
base.OnCreate();

updateSystem = World.GetExistingSystem<ComponentUpdateSystem>();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ public class RateLimitedPositionSendSystem : ComponentSystem
{
private EntityQuery positionGroup;

protected override void OnCreateManager()
protected override void OnCreate()
{
base.OnCreateManager();
base.OnCreate();

positionGroup = GetEntityQuery(
ComponentType.ReadWrite<LastPositionSentData>(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ public class RateLimitedTransformSendSystem : ComponentSystem
private TickRateEstimationSystem tickRate;
private EntityQuery transformGroup;

protected override void OnCreateManager()
protected override void OnCreate()
{
base.OnCreateManager();
base.OnCreate();

worker = World.GetExistingSystem<WorkerSystem>();
tickRate = World.GetExistingSystem<TickRateEstimationSystem>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ public class SetKinematicFromAuthoritySystem : ComponentSystem
private EntityQuery newEntityGroup;
private EntityQuery authChangeGroup;

protected override void OnCreateManager()
protected override void OnCreate()
{
base.OnCreateManager();
base.OnCreate();

updateSystem = World.GetExistingSystem<ComponentUpdateSystem>();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ public class TickRateEstimationSystem : ComponentSystem

private readonly Queue<long> samples = new Queue<long>();

protected override void OnCreateManager()
protected override void OnCreate()
{
base.OnCreateManager();
base.OnCreate();
PhysicsTicksPerRealSecond = 1.0f / Time.fixedDeltaTime;
}

Expand Down

0 comments on commit 8708f8b

Please sign in to comment.