You can (and should) use XML comments to more effectively document your code, including Classes, Fields, Properties and Methods. XML comments will also populate the description for these elements when you hover over them in Visual Studio – this is particularly helpful for Classes that contain public members. By using XML comments, you can then … Continue reading Unity Tips – XML Comments
As Unity supports Rich Text tags, you use them in your Debug.Log methods in order to liven up your Console window and put emphasis on important Debug lines. Whilst some Rich Text tags will be more useful than others in this context, some helpful examples would be Color, Bold, Italics and maybe even Size, depending … Continue reading Unity Tips – Rich Text in the Console
Unity has a very helpful tool availability within it’s Package Manager for analysing memory usage known as the ‘Memory Profiler’. This tool is very helpful to optimise your game as it allows you to see what is currently loaded into memory at a given moment in time. The Memory Profiler will show you in chunks … Continue reading Unity Tips – Memory Profiler
You can hide layers in the Scene view by clicking on the ‘Layers’ dropdown in the top right of the Unity Editor. By clicking on the eyes in the dropdown, you are able to toggle elements on and off in the scene view. There is also a shortcut for ‘Nothing’ and ‘Everything’. Here is an … Continue reading Unity Tips – Scene View Layers
Something went wrong. Please refresh the page and/or try again.