Class ExpectedTypeAttribute
Namespace: Unity.VisualScripting
Syntax
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false, Inherited = true)]
public sealed class ExpectedTypeAttribute : Attribute, _Attribute
Constructors
ExpectedTypeAttribute(Type)
Declaration
public ExpectedTypeAttribute(Type type)
Parameters
| Type | Name | Description |
|---|---|---|
| Type | type |
Properties
type
Declaration
public Type type { get; }
Property Value
| Type | Description |
|---|---|
| Type |