CustomMethodApplyAttribute
A class in Alta.Attributes, the global namespace.
Prefab apply attribute that calls a named method on the component when the prefab is applied. The method should return bool (true means it applied); methods are looked up by reflection and cached.
- Listed in Other Alta assemblies
- Inherits or implements
PrefabApplyAttribute
Constructors
| Member | What it is |
|---|---|
CustomMethodApplyAttribute(string method) | Creates a CustomMethodApplyAttribute from method. |
Fields
4 private and internal fields
Properties
| Member | What it is |
|---|---|
string Method { get; } | Name of the method to call, public or private, instance or static. |