Trying to experiment a bit with a few ideas but is there a way in an ISystem to access the ref to the SystemState ? Like to disable the system OUTSIDE of a generic method with the ref in parameters ?
Example :
translating this method from a system base to a ISystem
private void EnableSelf()
{
Enabled = true; <== this is what i'm trying to access
}
Basically trying to do this :
public void OnUpdate(ref SystemState state)
{
state.Enabled = true;
}
Outide of the predetermine OnXXX Methods ( for whatever reasons )