Advanced Search
Search Results
32 total results found
Rebuilding UI Layout from OnValidate
UI Basics and Beyond | Rebuilding UI Layout Attempting to call LayoutRebuilder.ForceRebuildLayoutImmediate from OnValidate will result in following warning being thrown into your console: SendMessage cannot be called during Awake, CheckConsistency, or OnVali...
Reading TMP_Dropdown Value in Udon
TMP_Dropdown isn't exposed in Udon, so we're unable to read its value by default. Here is a workaround to receive an event in Udon when a player selects an item on the dropdown, after which we can read the value from a proxy. 1) Create new TextMeshPro Dropdown...
Highlighting Objects from Udon
If you are looking for a way to draw the user's attention to certain objects in your world, you can use the VRChat's native highlighting feature to set the highlighted state of any object or renderer. // Highlights a GameObject using any renderer on the obj...
Turning Waltzer into an Avatar with Avatar Dynamics
What sparked it all? Thanks to the inspiration I got from @NinjaSteeve's shopkeeper avatar, I decided to try to turn the Waltzer into an avatar and check out the different features and capabilities of VRChat's Avatar Dynamics while at it. Replicating the...
Layers
What are the different layers used for in VRChat? What special properties of some specific layers should you know? Below I've listed the currently used (+ reserved) layers and their use cases based on experimentation using my layer inspection tools. My layer...
Observer Pattern
Since we don't have access to delegates, how can we effectively implement an observer pattern in UdonSharp? I currently have 2 stable projects that have an observer pattern in them: VUdon - EventDispatcher VUdon - EventDispatcher EventDispatcher is a...
Attributes
What are attributes? Attributes are "markers" or "tags" for associating metadata with code in a declarative way. They can be used to tell the Unity Editor, C# compiler, or even our own scripts how to treat certain classes, fields, methods, and so on. https:/...
All Arrays And Lists Are Now Reorderables by Default
What are reorderables? As soon as you open up Unity 2022.3, you may start to notice that all arrays and lists look a little different from how they used to in 2019.4. This is because by default, all arrays and lists are now "reorderables", meaning that you...
Set Any GameObject as Default Parent
How to set a GameObject as default parent? In 2022.3 we have a new option for setting any GameObject in the scene as the default parent, meaning that any new prefab we drag into the scene will be parented to that object by default. How to clear the defau...
Undo History
In 2022.3 we now have a dedicated Undo history window for quickly reverting changes without having to spam CTRL + Z repeatedly. You can open the Undo History window by navigating to the Top Right Corner of your Unity Editor and pressing the little clock ico...
Index
What's New in Unity 2022 All Arrays And Lists Are Now Reorderables by Default Properties Window Set Any GameObject as Default Parent Undo History Upcoming Pages Hierarchy / Create Empty Parent Prefab Editing in Context vs. Isolation Search Transform...
Properties Window
Unity 2022.3 allows you to open an isolated inspector for any GameObject's or Component's inspector. If you want to open an isolated inspector for a Component, navigate to the component's context menu (three dots), and click Properties... If you want to ...