Skip to content

Releases: SimpleDevs-Tools/UnityUtils

V1.3.1 - Fixes for broken prefabs & New LogWriter

11 Dec 17:00

Choose a tag to compare

This describes several key fixes from V1.3.0, which include:

  1. Fixing broken references to prefabs in FrameCount
  2. Fixing the vertex color of textboxes in FrameCount prefabs

Further modifications are as follows:

  1. A new LogWriter.cs component helps for writing log statements into a separate text file.
  2. The README has been updated with new descriptions of all components provided in this package.

V1.3 - Updates to FrameCount and CSVWriter + New AdditiveSceneManager

10 Dec 18:09

Choose a tag to compare

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_ms toggled, multiple unix_ms columns would be added every time.
    • WriteLine() now doesn't need a true argument pushed to write unix_ms even when unix_ms is toggled; if no boolean is passed as an argument, it will use its unix_ms variable to interpret whether the user wants to write unix timestamps to their csv file.
  • FrameCount:
    • You can write the frame count, FPS, or smoothed to FPS to any TextMeshProUGUI textbox using the new textboxes array available in the inspector.

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

03 Aug 05:08

Choose a tag to compare

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

03 Aug 03:02

Choose a tag to compare

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

11 Jul 18:54

Choose a tag to compare

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