Version 2.1.0.0

UnityPropertyEmitter.Handle class

Namespace: Sirenix.OdinInspector.Editor
Assembly: Sirenix.OdinInspector.Editor
public class Handle : IDisposable
A handle for a set of emitted Unity objects. When disposed (or collected by the GC) this handle will queue the emitted object instances for destruction.
Inheritance
  • System.Object
  • UnityPropertyEmitter.Handle

Constructors

Handle(SerializedProperty, Object[])
Initializes a new instance of the UnityPropertyEmitter.Handle class.
public Handle(SerializedProperty unityProperty, Object[] objects)
Parameters
UnityEditor.SerializedProperty unityProperty

The unity property to represent.

UnityEngine.Object[] objects

The objects to represent.

Fields

Objects
The Unity objects to represent.
public readonly Object[] Objects
UnityProperty
The unity property to represent.
public readonly SerializedProperty UnityProperty

Methods

Dispose()
public void Dispose()
Finalize()
Finalizes an instance of the UnityPropertyEmitter.Handle class.
protected void Finalize()

This website is brand new and built with the Odin 2.1 beta in mind. This means you might discover some features such as attribute expressions that are only available in the beta.

You can download the 2.1 beta from here and read the patch-notes here.