We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb7f5c0 commit dca900cCopy full SHA for dca900c
1 file changed
Assets/uWindowCapture/Scripts/UwcWindowTexture.cs
@@ -158,8 +158,9 @@ public UwcWindow window
158
window_.onCaptured.RemoveListener(OnCaptured);
159
}
160
161
- onWindowChanged_.Invoke(value, window_);
+ var old = window_;
162
window_ = value;
163
+ onWindowChanged_.Invoke(window_, old);
164
165
if (window_ != null) {
166
shouldUpdateWindow = false;
0 commit comments