Feel  3.16
The best way to improve your game's feel and make it extra juicy
MoreMountains.Tools.MMObservableDemoObserverAutoSleep Class Reference

A test class used to demonstrate the MMObservable pattern in the MMObservableDemo scene This one disables itself on Awake, and passively listens for changes, even when disabled More...

Inheritance diagram for MoreMountains.Tools.MMObservableDemoObserverAutoSleep:

Public Attributes

MMObservableDemoSubject TargetSubject
 

Protected Member Functions

virtual void OnSpeedChange ()
 
virtual void Awake ()
 On awake we start listening for changes More...
 
virtual void OnDestroy ()
 On destroy we stop listening for changes More...
 
virtual void OnEnable ()
 On enable we do nothing More...
 
virtual void OnDisable ()
 On disable we do nothing More...
 

Detailed Description

A test class used to demonstrate the MMObservable pattern in the MMObservableDemo scene This one disables itself on Awake, and passively listens for changes, even when disabled

Member Function Documentation

◆ Awake()

virtual void MoreMountains.Tools.MMObservableDemoObserverAutoSleep.Awake ( )
protectedvirtual

On awake we start listening for changes

◆ OnDestroy()

virtual void MoreMountains.Tools.MMObservableDemoObserverAutoSleep.OnDestroy ( )
protectedvirtual

On destroy we stop listening for changes

◆ OnDisable()

virtual void MoreMountains.Tools.MMObservableDemoObserverAutoSleep.OnDisable ( )
protectedvirtual

On disable we do nothing

◆ OnEnable()

virtual void MoreMountains.Tools.MMObservableDemoObserverAutoSleep.OnEnable ( )
protectedvirtual

On enable we do nothing

◆ OnSpeedChange()

virtual void MoreMountains.Tools.MMObservableDemoObserverAutoSleep.OnSpeedChange ( )
protectedvirtual

Member Data Documentation

◆ TargetSubject

MMObservableDemoSubject MoreMountains.Tools.MMObservableDemoObserverAutoSleep.TargetSubject

The documentation for this class was generated from the following file: