Unity logo
Cancel
Cart
Applications
Sell Assets

Over 11,000 five-star assets

Rated by 85,000+ customers

Supported by 100,000+ forum members

Every asset moderated by Unity

Home
Tools
Utilities
1/6
SuperBehaviour provides several Unity improvements like automatic transform caching and an improved inspector drawer called SuperEditor (improved rendering for fields and is able to draw properties)
Render pipeline compatibility
The Built-in Render Pipeline is Unity’s default render pipeline. It is a general-purpose render pipeline that has limited options for customization. The Universal Render Pipeline (URP) is a Scriptable Render Pipeline that is quick and easy to customize, and lets you create optimized graphics across a wide range of platforms. The High Definition Render Pipeline (HDRP) is a Scriptable Render Pipeline that lets you create cutting-edge, high-fidelity graphics on high-end platforms.
Unity VersionBuilt-inURPHDRP
6000.0.28f1
Compatible
Compatible
Compatible
Description

The "Super Utility Package" enhances the Unity engine with missing functionalities. It includes:


  • "SuperBehaviour" replaces MonoBehaviour, providing benefits like cached transforms and script icons.
  • "SuperEditor" manages inspector windows for SuperBehaviours.
  • New Inspector Attributes for [SerializeField] offer features like readonly mode, layer and tag dropdowns, and HDR colors.
  • New Inspector Attributes for Properties allow customized inspector displays, headers, tooltips, sliders, text areas, and more.
  • New Condition Attributes control field and property visibility and editability based on specific conditions.
  • "SingletonBehaviour" provides simple and performant singleton implementation
  • "LazySingletonBehaviour" implements lazy singleon
  • "SuperRectTransform" allows easy acces to the RectTransform properties and behaves like in the inspector

This package improves Unity development by providing a comprehensive toolset for increased efficiency and enhanced inspector functionality.


Documentation:

https://superbehaviour.lom.li/


Recommendation:

Use the SuperBehaviour Visual Studio Code Extension for better Syntax highlighting and emmet abreviations with this package.

https://marketplace.visualstudio.com/items?itemName=lom.superbehaviour

Technical details

SuperBehaviour

Completely replaces MonoBahaveyour (inherits from it) and provides the following benefits:

  • this.transform is now cached by default
  • Scripts automatically get icons based on their name

SingletonBehaviour

Inherit from this class to get a clean, threadsafe and with LazySingletonBehaviour optional "lazy" singleton implementation.

  • Inherits from Super Behaviour

SuperEditor

Use this instead of the Editor to handle all inspector windows of SuperBehaviours.

New Inspector Attributes for [SerializeField]'s

  • [ReadOnly] shows the field in the inspector in readonly mode
  • [Layer] displays a Layer dropdown when used with a int
  • [Tag] displays a Tag dropdown when used with a string
  • [Tabs] displays Tabs when used with a Enum
  • [HDRColor] displays the color as HDR color
  • [Label] allows to define a custom property name in the inspector
  • [Button] allows to render a button calling a method of the same class

New Inspector Attributes for Properties (get and get/set)

  • [SerializeProperty] property gets drawn in the inspector (Does NOT save to filesystem)
  • [PropertyHeader("Label")] shows a header lable over the property
  • [PropertyTooltip("Tooltip")] shows a tooltip when hovering over the label
  • [PropertyRange(0, 10)] shows a range slider from number values
  • [PropertyTextArea] shows a string as textare
  • [PropertyLayer] displays a Layer dropdown when used with an int
  • [PropertyTag] displays a Tag dropdown when using with a string
  • [PropertyHDRColor] displays the color as HDR color

New Condition Attributes for Fields and Properties

  • [ShowIf("otherFieldName")] hides the field if the other field is false, EmptyString or null
  • [EditableIf("m_BoolTest")] displays the field readonly if the other field is false, EmptyString or null

For more information visit:

https://superbehaviour.lom.li/

Super Behaviour

(not enough ratings)
46 users have favourite this asset
(46)
FREE
License type
File size
740.5 KB
Latest version
0.1.2
Latest release date
Feb 3, 2025
Original Unity version
6000.0.28
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Unity logo
Language
Feedback
Partners Program
Partners
USD
EUR
Copyright © 2025 Unity Technologies
All prices are exclusive of tax
USD
EUR