UIManager.cs 471 B

123456789101112131415161718192021
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. namespace Rokid.UXR.UI
  5. {
  6. public class UIManager : BaseUI
  7. {
  8. private static UIManager instance;
  9. public static UIManager Instance()
  10. {
  11. if (instance == null)
  12. {
  13. GameObject go = new GameObject("UIManager");
  14. instance = go.AddComponent<UIManager>();
  15. }
  16. return instance;
  17. }
  18. }
  19. }