SubController
Last updated
Last updated
namespace:
Inherits: MonoBehaviour
A base class for a bare-bones SubController, derived classes should handle their connection to any/all visuals by showing/hiding them as the SubController
is enabled/disabled.
SubController's should connect input processing logic to its view and manipulate the application's model's data.
public RootController<TAppState> root
: The RootController
this instance is attached to. Useful for updating the applications state.
public virtual void Engage()
: enables this.gameObject
.
public virtual void Disengage()
: disables this.gameObject
.