Class CreateInstanceOnInspectionAttribute
Tag a field or a property to try to create a new instance if it is null.
Inheritance
Implements
Inherited Members
Namespace: Unity.Platforms.UI
Assembly: solution.dll
Syntax
[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field, AllowMultiple = false, Inherited = true)]
public class CreateInstanceOnInspectionAttribute : InspectorAttribute, _Attribute
Constructors
Name | Description |
---|---|
Create |
Constructs a new instance of Create |
Create |
Constructs a new instance of Create |
Properties
Name | Description |
---|---|
Type | Returns the type of the instance that should be instantiated. |