Skip to content
This repository has been archived by the owner on Jan 22, 2022. It is now read-only.

Commit

Permalink
Disable collision ownership transfer more correctly
Browse files Browse the repository at this point in the history
- Disable collision ownership transfer on UdonBehaviours without colliders by default more aggressively again
  • Loading branch information
MerlinVR committed Nov 29, 2020
1 parent 2a73c6c commit f8f94a2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Assets/UdonSharp/Editor/Editors/UdonSharpGUI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1382,8 +1382,7 @@ internal static void DrawSyncSettings(UdonBehaviour behaviour)
{
newCollisionTransfer = false;

if (PrefabUtility.IsPartOfPrefabInstance(behaviour))
PrefabUtility.RecordPrefabInstancePropertyModifications(behaviour);
GUI.changed = true;
}
EditorGUI.EndDisabledGroup();

Expand Down

0 comments on commit f8f94a2

Please sign in to comment.