Skip to content

Commit

Permalink
update limitations comments
Browse files Browse the repository at this point in the history
  • Loading branch information
valkyrienyanko committed Mar 11, 2023
1 parent 5bdacc8 commit 73f8efe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Scripts/Static/EventManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ namespace Sankari;
/// - If there are 2 listeners for 1 event type then removing a listener will remove ALL the
/// listeners for that event type (If this is undesired then one may consider using
/// 'event Action<TArgs>' instead of this class)
/// - Can't define AddListener<T>(TEvent eventType, Action<T> action) so you don't know what
/// the types are on the subscriber end. If you try to define this, the godot game will
/// freeze on startup.
/// </summary>
/// <typeparam name="TEvent">The event type enum to be used. For example 'EventPlayer' enum.</typeparam>
public class EventManager<TEvent>
Expand Down

0 comments on commit 73f8efe

Please sign in to comment.