public override void Awake() { base.Awake(); DialogChoiceObjects = new List <DialogChoiceObject>(); ChangeSelectionTriggerHash = Animator.StringToHash(ChangeSelectionTrigger); SelectionIndexIntHash = Animator.StringToHash(SelectionIndexInt); OnChangeSelection = OnChangeSelection ?? new DialogChoiceEvent(); }
public override void Reset() { base.Reset(); SelectionInputAxis = "Horizontal"; AcceptChoiceButton = "Submit"; Animator = GetComponent <Animator>(); ChangeSelectionTrigger = ""; SelectionIndexInt = ""; OnChangeSelection = new DialogChoiceEvent(); }
public virtual void Awake() { IsOpen = false; OnOpen = OnOpen ?? new UnityEvent(); OnClose = OnClose ?? new DialogChoiceEvent(); }
public virtual void Reset() { OnOpen = new UnityEvent(); OnClose = new DialogChoiceEvent(); }