Table of Contents

Class CharacterLayerSelector

Namespace
BlazerTech.CharacterManagement.CharacterCreator
Assembly
Assembly-CSharp.dll

Abstract base class used by all Layer Selectors

[DisallowMultipleComponent]
public abstract class CharacterLayerSelector : MonoBehaviour
Inheritance
Object
Component
Behaviour
MonoBehaviour
CharacterLayerSelector
Derived

Fields

characterCreationMenuManager

protected CharacterCreationMenuManager characterCreationMenuManager

Field Value

CharacterCreationMenuManager

Properties

AssignedLayer

public CharacterLayer AssignedLayer { get; }

Property Value

CharacterLayer

CharacterLayerOverride

public CharacterLayerDefinitionSO CharacterLayerOverride { get; }

Property Value

CharacterLayerDefinitionSO

LayerNameText

[Tooltip("If assinged; sets the text to the name of the assigned layer.")]
public TMP_Text LayerNameText { get; }

Property Value

TMP_Text

SelectorBase

public GameObject SelectorBase { get; }

Property Value

GameObject

Methods

AssignLayer(CharacterLayer)

public bool AssignLayer(CharacterLayer layer)

Parameters

layer CharacterLayer

Returns

bool

ChangeAlpha(float)

public virtual void ChangeAlpha(float alpha)

Parameters

alpha float

CharacterLayerUpdated()

Called whenever the Character Layer assigned to this selector is updated

protected abstract void CharacterLayerUpdated()

DisableInteractivity()

public abstract void DisableInteractivity()

EnableInteractivity()

public abstract void EnableInteractivity()

Hide()

public virtual void Hide()

MenuDisabled()

Called whenever the Character Creation Menu is disabled

protected abstract void MenuDisabled()

OnDestroy()

protected virtual void OnDestroy()

RandomizeLayer()

public void RandomizeLayer()

Reset()

protected virtual void Reset()

Setup()

Setup is called every time the Character Creation Menu is opened

protected abstract void Setup()

Unhide()

public virtual void Unhide()