InteractableThemeBase.OnUpdate(Int32, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Update ThemeEngine for given state based on Theme logic. Check, sets, and possibly eases values based on given state
public virtual void OnUpdate (int state, bool force = false);
abstract member OnUpdate : int * bool -> unit
override this.OnUpdate : int * bool -> unit
Public Overridable Sub OnUpdate (state As Integer, Optional force As Boolean = false)
Parameters
- state
- Int32
current state to target
- force
- Boolean
force update call even if state is not new