Skip to content

Commit 6b0bc9d

Browse files
author
lawwong
committed
Resolve warnning for unused field
1 parent 7c4142e commit 6b0bc9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/HTC.UnityPlugin/VRModule/VRModuleManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ public partial class VRModule : SingletonBehaviour<VRModule>
3131
[SerializeField]
3232
private ActiveModuleChangedEvent m_onActiveModuleChanged = new ActiveModuleChangedEvent();
3333

34-
private int m_poseUpdatedFrame = -1;
3534
private bool m_isUpdating = false;
3635
private bool m_isDestoryed = false;
3736

@@ -110,6 +109,7 @@ protected override void OnDestroy()
110109
}
111110

112111
#if !UNITY_2017_1_OR_NEWER
112+
private int m_poseUpdatedFrame = -1;
113113
private void OnCameraPreCull(Camera cam)
114114
{
115115
var thisFrame = Time.frameCount;

0 commit comments

Comments
 (0)