Skip to content

Commit cefa7b8

Browse files
committed
v1.0 release prep
- Added sync type attribute to all behaviours - Added missing documentation buttons - Bumped the version to 1.0.0 - Added a GetLayerNames utility to UTUtils - Updated readme - Updated the startup window with more up-to-date info
1 parent 34c6f9a commit cefa7b8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+126
-86
lines changed

Behaviours/Misc/AreaTrigger.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ namespace UdonToolkit {
1010
[OnBeforeEditor("CheckCollisionTab")]
1111
[CustomName("Area Trigger")]
1212
[HelpMessage("It is recommended to put Area Triggers on a MirrorReflection layer unless they need a custom layer.")]
13-
[HelpURL("https://ut.orels.sh/behaviours/misc-behaviours#area-trigger")]
13+
[HelpURL("https://ut.orels.sh/v/v1.x/behaviours/misc-behaviours#area-trigger")]
14+
[UdonBehaviourSyncMode(BehaviourSyncMode.NoVariableSync)]
1415
public class AreaTrigger : UdonSharpBehaviour {
1516
[SectionHeader("General")]
1617
[HelpBox("This behaviour requires a trigger collider to be attached to the object", "CheckCollider")]

Behaviours/Misc/FogAdjustment.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77

88
namespace UdonToolkit {
99
[CustomName("Fog Adjustment")]
10-
[HelpURL("https://ut.orels.sh/behaviours/misc-behaviours#fog-adjustment")]
10+
[HelpURL("https://ut.orels.sh/v/v1.x/behaviours/misc-behaviours#fog-adjustment")]
11+
[UdonBehaviourSyncMode(BehaviourSyncMode.NoVariableSync)]
1112
public class FogAdjustment : UdonSharpBehaviour {
1213
public bool isLinearFog;
1314
[SectionHeader("Default State")]

Behaviours/Misc/InteractTrigger.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99

1010
namespace UdonToolkit {
1111
[CustomName("Interact Trigger")]
12-
[HelpURL("https://ut.orels.sh/behaviours/misc-behaviours#interact-trigger")]
12+
[HelpURL("https://ut.orels.sh/v/v1.x/behaviours/misc-behaviours#interact-trigger")]
13+
[UdonBehaviourSyncMode(BehaviourSyncMode.NoVariableSync)]
1314
public class InteractTrigger : UdonSharpBehaviour {
1415
[SectionHeader("General")]
1516
public bool active = true;

Behaviours/Misc/LerpedFollower.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ namespace UdonToolkit {
88
[CustomName("Lerped Follower")]
99
[HelpMessage("This component makes the Target Transform follow the Source Transform with linear interpolation. " +
1010
"Use this to make an object smoothly follow your target.")]
11-
[HelpURL("https://ut.orels.sh/behaviours/misc-behaviours#lerped-follower")]
11+
[HelpURL("https://ut.orels.sh/v/v1.x/behaviours/misc-behaviours#lerped-follower")]
12+
[UdonBehaviourSyncMode(BehaviourSyncMode.NoVariableSync)]
1213
public class LerpedFollower : UdonSharpBehaviour {
1314
[SectionHeader("General")]
1415
public Transform sourceTransform;

Behaviours/Misc/NetworkedTrigger.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ namespace UdonToolkit {
99
[CustomName("Networked Trigger")]
1010
[HelpMessage(
1111
"This component waits for a \"Trigger\" custom event, e.g. from a UI Button, and calls a network event on all the provided behaviours.")]
12-
[HelpURL("https://ut.orels.sh/behaviours/misc-behaviours#networked-trigger")]
12+
[HelpURL("https://ut.orels.sh/v/v1.x/behaviours/misc-behaviours#networked-trigger")]
13+
[UdonBehaviourSyncMode(BehaviourSyncMode.NoVariableSync)]
1314
public class NetworkedTrigger : UdonSharpBehaviour {
1415
[SectionHeader("General")]
1516
public bool active = true;

Behaviours/Misc/ObjectBoundaryTrigger.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ namespace UdonToolkit {
1010
[HelpMessage("This component tracks if objects cross ALL or ANY of the boundaries specified, " +
1111
"useful for checking if something is above / below a global threshold.\n" +
1212
"This will fire once and disable itself, send an \"Enable\" event to this component to re-enable the check")]
13-
[HelpURL("https://ut.orels.sh/behaviours/misc-behaviours#object-boundary-trigger")]
13+
[HelpURL("https://ut.orels.sh/v/v1.x/behaviours/misc-behaviours#object-boundary-trigger")]
14+
[UdonBehaviourSyncMode(BehaviourSyncMode.NoVariableSync)]
1415
public class ObjectBoundaryTrigger : UdonSharpBehaviour {
1516
[SectionHeader("General")] public bool active = true;
1617
public Transform target;

Behaviours/Misc/PlatformTrigger.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@
66

77
namespace UdonToolkit {
88
[CustomName("Platform Trigger")]
9-
[HelpURL("https://ut.orels.sh/behaviours/misc-behaviours#platform-trigger")]
9+
[HelpURL("https://ut.orels.sh/v/v1.x/behaviours/misc-behaviours#platform-trigger")]
1010
[HelpMessage(
1111
"This behaviour will send specified events on the Start of the world based on the current user platform")]
12+
[UdonBehaviourSyncMode(BehaviourSyncMode.NoVariableSync)]
1213
public class PlatformTrigger : UdonSharpBehaviour {
1314
public bool fireOnStart = true;
1415
[ListView("Desktop Events")] public UdonSharpBehaviour[] desktopTargets;

Behaviours/Misc/PlayerMovementModifier.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ namespace UdonToolkit {
1010
"SET: sets the parameter to the provided value\n" +
1111
"ADD: adds the provided value to the current\n" +
1212
"SUBTRACT: subtracts the provided value from the current")]
13+
[HelpURL("https://ut.orels.sh/v/v1.x/behaviours/misc-behaviours#player-movement-modifier")]
14+
[UdonBehaviourSyncMode(BehaviourSyncMode.NoVariableSync)]
1315
public class PlayerMovementModifier : UdonSharpBehaviour {
1416
[Horizontal("Jump Impulse", true)][Popup("method", "@changeTypes", true)]
1517
public int jumpImpulseChangeType;

Behaviours/Misc/Program Assets/Area Trigger C# Program Asset.asset

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ MonoBehaviour:
1717
udonAssembly:
1818
assemblyError:
1919
sourceCsScript: {fileID: 11500000, guid: aec6968de4cc5fc41b31be8bf370496e, type: 3}
20-
behaviourSyncMode: 0
20+
behaviourSyncMode: 1
2121
behaviourIDHeapVarName: __refl_const_intnl_udonTypeID
2222
compileErrors: []
2323
hasInteractEvent: 0

Behaviours/Misc/Program Assets/Fog Adjustment Udon C# Program Asset.asset

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ MonoBehaviour:
1717
udonAssembly:
1818
assemblyError:
1919
sourceCsScript: {fileID: 11500000, guid: 6e0aae98177babd4297419783bbf84e6, type: 3}
20-
behaviourSyncMode: 0
20+
behaviourSyncMode: 1
2121
behaviourIDHeapVarName: __refl_const_intnl_udonTypeID
2222
compileErrors: []
2323
hasInteractEvent: 0

0 commit comments

Comments
 (0)