驱蚊app
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 
 

27 rader
508 B

  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. public class Init : MonoBehaviour
  5. {
  6. // Start is called before the first frame update
  7. void Start()
  8. {
  9. if (GameConfig.platform == RuntimePlatform.WebGLPlayer)
  10. {
  11. UIManager.Instance.OpenUI<UIMainMenu>();
  12. }
  13. else
  14. {
  15. UIManager.Instance.OpenUI<UILogin>();
  16. }
  17. }
  18. // Update is called once per frame
  19. void Update()
  20. {
  21. }
  22. }