Class in Yarn.Unity
Inherits from Attribute
Yarn parameter.
public class YarnParameterAttribute : AttributeThe custom injector for this parameter.
Property in YarnParameterAttribute
The custom injector for this parameter.
public string Injector { get; set; }Similar to .
If this is not defined on a parameter, or if the injector is not static or doesn't exist, or returns a type that is not assignable to the parameter's type, then it will be use the default method, which is to search for the game object name, and search for the target component type on that object.