InjectionAttribute.

EditorOnly Property

Summary

If set to true, this attribute won't be used in builds. Must be set for attributes inside #if UNITY_EDITOR regions since that fact can't be detected automatically.
Assembly
Weaver.dll
Namespace
Weaver
Containing Type
InjectionAttribute

Syntax

public bool EditorOnly { get; set; }

Value

Type Description
bool