Injector

Property in YarnParameterAttribute

Summary

The custom injector for this parameter.

public string Injector { get; set; }

Remarks

Similar to Injector .

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.

Last updated

Yarn Spinnerยฎ and Secret Labยฎ are trade marks of Secret Lab Pty. Ltd., and are used by Yarn Spinner Pty. Ltd. under license.