Entity.RemoveSignalHandler_TEvent_(Action_Signal_TEvent__).md

February 25, 2024 ยท View on GitHub

Friflo.Engine.ECS

Friflo.Engine.ECS.Entity

Entity.RemoveSignalHandler(Action<Signal>) Method

Remove the given Signal<TEvent> handler from the entity.

public bool RemoveSignalHandler<TEvent>(System.Action<Friflo.Engine.ECS.Signal<TEvent>> handler)
    where TEvent : struct, System.ValueType, System.ValueType;

Type parameters

TEvent

Parameters

handler System.Action<Friflo.Engine.ECS.Signal<TEvent>>

Returns

System.Boolean
true in case the the passed signal handler was found.