StoryDialogDataManager.cs 921 B

12345678910111213141516171819202122232425262728
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. namespace GFGGame
  5. {
  6. public class StoryDialogDataManager : SingletonBase<StoryDialogDataManager>
  7. {
  8. public void Clear()
  9. {
  10. _waitPicFade = false;
  11. _waitBgChange = false;
  12. }
  13. private bool _waitPicFade = false;
  14. private bool _waitBgChange = false;
  15. private float _dialogShowDelay = 0.0f;
  16. private bool _waiting = false;
  17. // Dialog wait pic's animation finished
  18. public bool waitPicFade { get { return _waitPicFade; } set { _waitPicFade = value; } }
  19. public bool waitBgChange { get { return _waitBgChange; } set { _waitBgChange = value; } }
  20. public float dialogShowDelay { get { return _dialogShowDelay; } set { _dialogShowDelay = value; } }
  21. public bool waiting { get { return _waiting; } set { _waiting = value; } }
  22. }
  23. }