1. You can use lambda functions to connect UnityEvents to functions that have incompatible signatures

2. The [ContextMenu(“”)] attribute allows you to call a function from any instance of that component in the editor

3. You can replicate the legacy Input method of detecting a keypress with this snippet for the new InputSystem

4. ScriptableObjects have become one of my favorite workflows but they are unable to reference objects in your scene

5. If you format the names of your layers, tags, and more like filepaths Unity’s UI will automatically create sub menus to better organize your projects for you

Follow Andrew

Source: Unity Technologies Blog

0 0 votes
Article Rating