Version 2.1.0.0

ChildGameObjectsOnlyAttributeExamples class

Namespace: Sirenix.OdinInspector.Editor.Examples
Assembly: Sirenix.OdinInspector.Editor
[AttributeExample(typeof(ChildGameObjectsOnlyAttribute), "The ChildGameObjectsOnly attribute can be used on Components and GameObject fields and will prepend a small button next to the object-field that will search through all child gameobjects for assignable objects and present them in a dropdown for the user to choose from.")]
public class ChildGameObjectsOnlyAttributeExamples
Inheritance
  • System.Object
  • ChildGameObjectsOnlyAttributeExamples

Constructors

ChildGameObjectsOnlyAttributeExamples()
public ChildGameObjectsOnlyAttributeExamples()

Fields

ChildGameObject
[ChildGameObjectsOnly]
public GameObject ChildGameObject
ChildOrSelfTransform
[ChildGameObjectsOnly]
public Transform ChildOrSelfTransform
Lights
[ChildGameObjectsOnly(IncludeSelf = false)]
public Light[] Lights