Skip to content

Commit 14fcf76

Browse files
anonymous2585Anonymous
andauthored
Add debug reference to "this" in ToggleCollection (#929)
Co-authored-by: Anonymous <[email protected]>
1 parent 39c46e7 commit 14fcf76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

org.mixedrealitytoolkit.uxcore/Toggle/ToggleCollection.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ public void SetSelection(int index, bool force = false)
158158
{
159159
if (index < 0 || Toggles.Count <= index || Toggles == null || !isActiveAndEnabled)
160160
{
161-
Debug.LogWarning("Index out of range of ToggleCollection: " + index);
161+
Debug.LogWarning("Index out of range of ToggleCollection: " + index, this);
162162
return;
163163
}
164164

0 commit comments

Comments
 (0)