CharacterBody2D.

CharacterBody2D.Editor Class

Summary

[Editor-Only] Displays some non-serialized details at the bottom of the Inspector.
Assembly
PlatformerGameKit.dll
Namespace
PlatformerGameKit.Characters
Base Types
  • Editor
graph BT Type-->Base0["Editor"] Type["CharacterBody2D.Editor"] class Type type-node

Syntax

[UnityEditor.CustomEditor(typeof(CharacterBody2D), true)]
public class CharacterBody2D.Editor : Editor

Examples

https://kybernetik.com.au/inspector-gadgets/pro would allow this to be implemented much easier by simply placing https://kybernetik.com.au/inspector-gadgets/docs/script-inspector/inspectable-attributes on the properties we want to display like so:

[Inspectable]
public bool IsGrounded ...

Attributes

Type Description
CustomEditor

Methods

Name Value Summary
OnInspectorGUI() void