Editar

Partilhar via


InteractableThemeBase.OnUpdate(Int32, Boolean) Method

Definition

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

Applies to