Photon Quantum 3.0.0

Public Member Functions | List of all members
Quantum.ISignalOnComponentAdded< T > Interface Template Reference
Inheritance diagram for Quantum.ISignalOnComponentAdded< T >:
Quantum.ISignal

Public Member Functions

void OnAdded (Frame f, EntityRef entity, T *component)
 The signal is called after a component of the desired type has been added to an entity. More...
 

Additional Inherited Members

- Properties inherited from Quantum.ISignal
Int32 RuntimeIndex [get]
 Index of the signal in the runtime. More...
 

Detailed Description

Template Parameters
TComponent type
Type Constraints
T :unmanaged 
T :IComponent 

Member Function Documentation

◆ OnAdded()

void Quantum.ISignalOnComponentAdded< T >.OnAdded ( Frame  f,
EntityRef  entity,
T *  component 
)

The signal is called after a component of the desired type has been added to an entity.

Parameters
fThe frame reference.
entityThe entity that the component was added to.
componentThe component that was added.