UIButtonSettings

Contents

UIButtonSettings#

NAMESPACE:

UnityUtils.ScriptUtils.UI

The various settings used in the UIButton scripts

Scripts#

UnityUtils.ScriptUtils.UI.UIButtonDebugSettings

Public Functions

void LogIn()#

A default function that can called and will output a Debug.Log(object) if logIn is true, or if logAny is true.

void LogOut()#

A default function that can called and will output a Debug.Log(object) if logOut is true, or if logAny is true.

void LogClick()#

A default function that can called and will output a Debug.Log(object) if logClick is true, or if logAny is true.

void LogAny()#

A default function that can called and will output a Debug.Log(object) if logAny is true. Is called from all the other log functions.

Public Members

bool logIn = false#

Will output a Debug.Log(object) when the button’s “In” function is started. Usually on hover enter.

bool logOut = false#

Will output a Debug.Log(object) when the button’s “Out” function is started. Usually on hover exit.

bool logClick = false#

Will output a Debug.Log(object) when the button’s “Click” function is started. Usually on click.

bool logAny = false#

Will output a Debug.Log(object) on any of the button’s “In”, “Out”, or “Click” functions.