Skip to content

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

Choose a tag to compare

@kimryan0416 kimryan0416 released this 10 Dec 18:09
· 11 commits to main since this release

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.