Releases: SimpleDevs-Tools/UnityUtils
V1.3.1 - Fixes for broken prefabs & New LogWriter
This describes several key fixes from V1.3.0, which include:
- Fixing broken references to prefabs in FrameCount
- Fixing the vertex color of textboxes in FrameCount prefabs
Further modifications are as follows:
- A new
LogWriter.cscomponent helps for writing log statements into a separate text file. - The README has been updated with new descriptions of all components provided in this package.
V1.3 - Updates to FrameCount and CSVWriter + New AdditiveSceneManager
This release makes some important changes and a new addition to the pacakge: AdditiveSceneManager
Updates
- CSVWriter:
- Fixed a bug where, when running the writer multiple times with the
unix_mstoggled, multipleunix_mscolumns would be added every time. WriteLine()now doesn't need atrueargument pushed to writeunix_mseven whenunix_msis toggled; if no boolean is passed as an argument, it will use itsunix_msvariable to interpret whether the user wants to write unix timestamps to their csv file.
- Fixed a bug where, when running the writer multiple times with the
- FrameCount:
- You can write the frame count, FPS, or smoothed to FPS to any
TextMeshProUGUItextbox using the newtextboxesarray available in the inspector.
- You can write the frame count, FPS, or smoothed to FPS to any
New Addition: AdditiveSceneManager
Beginner implementations of Unity may load single scenes into a game. However, Unity has the ability to load in "additive" scenes where smaller scenes are stacked on top of already-running base scenes. The new AdditiveSceneManager is one attempt to make this functionality more transparent to game devs.
During runtime, if you are in the editor, you can debug how additive scenes load in via the Inspector; you can load and unload your additive scenes via some UI buttons we've added. Alternatively, if you are playing the game directly, you can instead call the component's public functions to control loading and unloading scenes. Feel free to check the README for a list of public functions and their parameters.
V1.2 - Frame Counting & FPS Update
The UnityUtils package now features a Frame Count system. A singleton can be added to any Unity Scene that, when added, starts to count three elements of the scene:
- Frame Count: The frame number of the current frame
- FPS: The number of frames per second
- Smoothed FPS: The average between the previous frame's FPS and the current frame's FPS.
Since this is a singleton, all you need is to add one component to the scene.
V1.1 - Minor Changes
Very minor changes from V1.0.0! Renamed from "HelpAttribute" to "HelpBox" and fixed some issues with the CSV Writer not properly serializing certain variable types.
V1.0.0 Release
This is the first official release of UnityUtils, which contains some helper files that may streamline workflows and add some unique elements to the Inspector.
Features:
- CSV Writer - easily write CSV files during Unity runtime.
- HelpAttribute - an Inspector-specific add-on that allows users to print short, textbox-esque descriptions inside component objects in the Inspector.
- Serializables - a collection of JSON-friendly versions of basic variable types in Unity, such as Vector3, Vector2, Vector4, Quaternion.
Minimal Unity Version:
2019.1.0b1
Required Dependencies:
- Unity Mathematics