We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb4a73d commit b80966bCopy full SHA for b80966b
1 file changed
OSVR-Unity/Assets/OSVRUnity/src/ClientKit.cs
@@ -75,16 +75,9 @@ private void EnsureStarted()
75
}
76
77
78
- /// <summary>
79
- /// Static constructor that enhances the DLL search path to ensure dependent native dlls are found.
80
- /// </summary>
81
- static ClientKit()
82
- {
83
- DLLSearchPathFixer.fix();
84
- }
85
-
86
void Awake()
87
{
+ DLLSearchPathFixer.fix();
88
DontDestroyOnLoad(gameObject);
89
90
void Start()
@@ -102,7 +95,6 @@ void OnEnable()
102
95
void FixedUpdate()
103
96
104
97
EnsureStarted();
105
- //Debug.Log("ClientKit FixedUpdate: frame # " + Time.frameCount + " " + Time.time);
106
98
contextObject.update();
107
99
108
100
0 commit comments