We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c52e01 commit ec262e5Copy full SHA for ec262e5
Scripts/GameApi/LiteNetLibTransform.cs
@@ -140,7 +140,7 @@ public Vector3 GetScale(Vector3 defaultScale)
140
public uint InitialInterpTick { get; private set; }
141
public uint RenderTick => _interpTick - interpolationTicks;
142
143
- private void Start()
+ public override void OnIdentityInitialize()
144
{
145
Manager.LogicUpdater.OnTick += LogicUpdater_OnTick;
146
_interpFromData = _interpToData = new TransformData()
@@ -151,7 +151,7 @@ private void Start()
151
};
152
}
153
154
- private void OnDestroy()
+ public override void OnIdentityDestroy()
155
156
Manager.LogicUpdater.OnTick -= LogicUpdater_OnTick;
157
0 commit comments