Unity C# Tools

Raycast Enabled Warning

Particle System Max Emission Checker

Graphic Raycast Target Checker

Canvas Group Alpha Checker

Particle System Simplifier

Description

I gained my scripting knowledge through hands-on experience, initially by connecting asset files to JS/PHP components and configuration scripts. I started by making minor code adjustments and progressed to writing simple asset functionality components. I’ve been broadening my C# skills through exploration and practical applications and have been focused on developing Unity tools that streamline tedious performance-saving tasks.

2025 (Coming Soon)
---------- Particle System Auto Gen Tool ----------
---------- Dupe Texture & Materials Finder ----------

2024
----------- Raycast Enabled Warning ----------
Adds a custom warning message in the Image component’s Inspector when the Raycast Target property is enabled. This is important for mobile performance optimization

  • Tells Unity to use as the custom editor for Image components
  • Allows editing multiple Image components at once
  • Holds a reference to Unity’s default Image editor, so you still get the standard inspector GUI
  • Creates and later destroys the default editor instance
  • Custom Inspector UI
  • Checks if Raycast Target is enabled. If yes, a warning box is displayed
  • Draws the Default Inspector
  • Uses a separate script for reusable GUI Styles
  • Ensures the Image component properties are still accessible

------- Particle System Max Emission Checker ------
Assists Unity VFX Artist with Particle Systems optimization for mobile devices by identifying which particles are using the default Max Particles values. This tool provides a quick way to adjust them to ensure improved performance.

  • Finds and lists all Particle System components inside the currently open prefab (disabled GameObjects too)
  • Lets you ping the GameObject in the Hierarchy for inspection to ensure new values are visually sufficient
  • If a system uses maxParticles == 1000, it’s flagged in bold red text
  • Change the value with a predefined dropdown list
  • Applies the value and marks the system dirty for saving

Note: An improvement I’d consider to add is listing Emission Rate Over Time values with a predefined dropdown list of values

-----------Graphic Raycast Target Checker ----------
Allows Unity Artists to quickly find and manage Raycast Target settings on all Graphic components within a prefab to improve mobile UI performance.

  • Identifies and lists all GameObjects using Raycast Target
  • List includes disabled GameObjects
  • Button to select and ping the GameObject in the hierarchy
  • Toggle button to enable/disable raycastTarget
  • Quickly toggle the raycastTarget setting on/off
  • Supports Undo and SetDirty
  • Works with components that support Raycast Target
  • Uses a separate script for reusing the tool’s GUI Styles
  • UI shows green for disabled, red/bold for enabled

Note: An improvement I’d consider to add is batch support for toggling all on/off

-------- Canvas Group Alpha Validation --------
Assists Unity Animators in verifying if UI elements, that include a CanvasGroup component, have alpha value set to 0. This is intended to ensure that alphas are correctly set for testing and handoff.

  • Scans only while you’re in Prefab Mode
  • Searches the current prefab for all CanvasGroup components
  • List any CanvasGroup that has alpha > 0
  • Displays all matching GameObjects
  • Clicking a button selects and pings the GameObject in the prefab hierarchy

Note: Improvement ideas:

  • Clean up GUI and add color coding for alpha value range
  • Add filters: show only alpha < 1 & or alpha != 1
  • Add batch support to set all alphas to 1 or 0

2023
------------- Particle System Simplifier -------------
Shell component script that isolates and exposes only the common modules and properties to decrease intimidation while becoming familiar with the Particle System modules and properties.

Role

Technical Artist: Unity Editor Tools & Component Messaging

For

PeopleFun & Self Aware Games

Date

2023 – 2024

Type

Unity v2021 – 2022: C# Editor Tools