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

Commit

Permalink
Add warning message about collision transfer
Browse files Browse the repository at this point in the history
  • Loading branch information
MerlinVR committed Nov 29, 2020
1 parent f8f94a2 commit f8d71d7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Assets/UdonSharp/Editor/Editors/UdonSharpGUI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1377,6 +1377,9 @@ internal static void DrawSyncSettings(UdonBehaviour behaviour)
if (behaviour.GetComponent<Collider>() != null)
{
newCollisionTransfer = EditorGUILayout.Toggle(ownershipTransferOnCollisionContent, behaviour.AllowCollisionOwnershipTransfer);

if (newCollisionTransfer)
EditorGUILayout.HelpBox("Collision transfer is currently bugged and can cause network spam that lags your world, use at your own risk.", MessageType.Warning);
}
else if(newCollisionTransfer)
{
Expand Down

0 comments on commit f8d71d7

Please sign in to comment.