This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Entitas; | |
using Zenject; | |
using System.Collections; | |
using System.Collections.Generic; | |
public class InjectableFeature : Feature | |
{ | |
public InjectableFeature() | |
: base() | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class BetterEvent | |
{ | |
private List<System.Action> _list; | |
public BetterEvent( int prealocate = 10 ) | |
{ | |
_list = new List<System.Action>( prealocate ); | |
} | |
public void Add( System.Action callback ) |