Open project Match-One,
Add any MonoBehaviour, write "Contexts contexts = Contexts.sharedInstance;",
Play the game,
Then Entitas's debug contexts hided.
Like this
public partial class Contexts : Entitas.IContexts {
public static Contexts sharedInstance {
get {
if (_sharedInstance == null) {
_sharedInstance = new Contexts();
}
return _sharedInstance;
}
set { _sharedInstance = value; }
}
static Contexts _sharedInstance;
Contexts contexts = Contexts.sharedInstance;
//This line should only get the Contexts‘ singleton. Why a "get" matter? I have no idea.
Open project Match-One, Add any MonoBehaviour, write "Contexts contexts = Contexts.sharedInstance;", Play the game, Then Entitas's debug contexts hided. Like this
Contexts contexts = Contexts.sharedInstance; //This line should only get the Contexts‘ singleton. Why a "get" matter? I have no idea.