You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

27 lines
514 B

  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. public class HomeView : MonoBehaviour
  5. {
  6. [SerializeField]
  7. private UniWebView m_UniWebView;
  8. // Start is called before the first frame update
  9. void Start()
  10. {
  11. m_UniWebView.SetBackButtonEnabled(false);// 回退钮 物理按键
  12. }
  13. public void Show(){
  14. gameObject.SetActive(true);
  15. m_UniWebView.Show();
  16. }
  17. // Update is called once per frame
  18. void Update()
  19. {
  20. }
  21. }