🍬
Gummi
  • Welcome to Gummi
  • Installation
  • Repo
  • API Documentation
    • Core
      • Attributes
        • DisableIf(string Target)
        • DisableIf(string Target, object Benchmark)
        • EnableIf(string Target)
        • EnableIf(string Target, object Benchmark)
        • HideIf(string Target)
        • HideIf(string Target, object Benchmark)
        • ShowIfstring Target)
        • ShowIf(string Target, object Benchmark)
        • SOExposed
        • VisibleBaseAttribute
        • ReadOnly
      • Extensions
        • GenericExtensions
        • IntExtensions
        • ListExtensions
    • MVC
      • RootController
      • SubController
      • SubController<enum, uiView>
      • UIView
    • Singletons
      • Singleton
      • Persistent Singleton
      • Lazy Singleton
      • Persistent Lazy Singleton
    • Utility
      • MDDocumentation
      • Optional
Powered by GitBook
On this page
  • Summary
  • Fields
  • Methods
  1. API Documentation
  2. MVC

SubController

PreviousRootControllerNextSubController<enum, uiView>

Last updated 3 years ago

namespace: Inherits: MonoBehaviour

Summary

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.

Fields

public RootController<TAppState> root: The RootController this instance is attached to. Useful for updating the applications state.

Methods

public virtual void Engage(): enables this.gameObject.

public virtual void Disengage(): disables this.gameObject.

Gummi.Pattern.MVC