Click or drag to resize

IComponentAddedHandler Interface

Used to allow other Components to know a different Component was added to a GameObject.

Namespace:  DustProductions.Core
Assembly:  DustProductions.Core (in DustProductions.Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public interface IComponentAddedHandler

The IComponentAddedHandler type exposes the following members.

Methods
  NameDescription
Public methodHandleComponentAdded
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.
Top
See Also