Skip to content

Commit 044496c

Browse files
test-fix-II
Wrong #if
1 parent 5ca720d commit 044496c

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

com.unity.netcode.gameobjects/Runtime/Components/NetworkTransform.cs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4035,16 +4035,6 @@ public BufferedLinearInterpolatorQuaternion GetRotationInterpolator()
40354035
{
40364036
return m_RotationInterpolator;
40374037
}
4038-
#else
4039-
internal BufferedLinearInterpolatorVector3 GetPositionInterpolator()
4040-
{
4041-
return m_PositionInterpolator;
4042-
}
4043-
4044-
internal BufferedLinearInterpolatorQuaternion GetRotationInterpolator()
4045-
{
4046-
return m_RotationInterpolator;
4047-
}
40484038
#endif
40494039
public int GetPositionBufferCount()
40504040
{
@@ -4065,6 +4055,16 @@ public double GetPositionLastRemainingTime()
40654055
{
40664056
return m_PositionInterpolator.InterpolateState.LastRemainingTime;
40674057
}
4058+
#else
4059+
internal BufferedLinearInterpolatorVector3 GetPositionInterpolator()
4060+
{
4061+
return m_PositionInterpolator;
4062+
}
4063+
4064+
internal BufferedLinearInterpolatorQuaternion GetRotationInterpolator()
4065+
{
4066+
return m_RotationInterpolator;
4067+
}
40684068
#endif
40694069

40704070
// Non-Authority

0 commit comments

Comments
 (0)