mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
fix: updated NetworkTransform2k test
This commit is contained in:
parent
73c47b5fc3
commit
fe021f8fe7
@ -172,6 +172,9 @@ public void ApplySnapshot_DontSyncPosition()
|
||||
component.syncPosition = false;
|
||||
component.syncRotation = true;
|
||||
component.syncScale = true;
|
||||
component.interpolatePosition = false;
|
||||
component.interpolateRotation = true;
|
||||
component.interpolateScale = true;
|
||||
component.ApplySnapshot(default, default, new NTSnapshot(0, 0, position, rotation, scale));
|
||||
|
||||
// was it applied?
|
||||
@ -192,6 +195,9 @@ public void ApplySnapshot_DontSyncRotation()
|
||||
component.syncPosition = true;
|
||||
component.syncRotation = false;
|
||||
component.syncScale = true;
|
||||
component.interpolatePosition = true;
|
||||
component.interpolateRotation = false;
|
||||
component.interpolateScale = true;
|
||||
component.ApplySnapshot(default, default, new NTSnapshot(0, 0, position, rotation, scale));
|
||||
|
||||
// was it applied?
|
||||
@ -212,6 +218,9 @@ public void ApplySnapshot_DontSyncScale()
|
||||
component.syncPosition = true;
|
||||
component.syncRotation = true;
|
||||
component.syncScale = false;
|
||||
component.interpolatePosition = true;
|
||||
component.interpolateRotation = true;
|
||||
component.interpolateScale = false;
|
||||
component.ApplySnapshot(default, default, new NTSnapshot(0, 0, position, rotation, scale));
|
||||
|
||||
// was it applied?
|
||||
|
Loading…
Reference in New Issue
Block a user