Class CharacterLayerSelector
- Assembly
- Assembly-CSharp.dll
Abstract base class used by all Layer Selectors
[DisallowMultipleComponent]
public abstract class CharacterLayerSelector : MonoBehaviour
- Inheritance
-
ObjectComponentBehaviourMonoBehaviourCharacterLayerSelector
- Derived
Fields
characterCreationMenuManager
protected CharacterCreationMenuManager characterCreationMenuManager
Field Value
Properties
AssignedLayer
public CharacterLayer AssignedLayer { get; }
Property Value
CharacterLayerOverride
public CharacterLayerDefinitionSO CharacterLayerOverride { get; }
Property Value
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
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()