Click or drag to resize

IComponentAddedHandlerHandleComponentAdded Method

The added Component should call this in its Reset method. Then the implementing Component can decide if they want to do anything with the added Component. You can call this anywhere else, if you like, but I'd recommend sticking to the Reset method, and only using it for things in the Unity Editor.

Namespace:  DustProductions.Core
Assembly:  DustProductions.Core (in DustProductions.Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
void HandleComponentAdded(
	Component addedComponent
)

Parameters

addedComponent
Type: Component
The Component that was added to a GameObject.
See Also