123456789101112131415161718192021222324252627282930 |
- using UnityEngine;
- using UnityEngine.UI;
- using System.Collections;
- using System.Collections.Generic;
- using System;
- using UnityEngine.SceneManagement;
- public class InNewPlash : MonoBehaviour
- {
- // Use this for initialization
- void Start()
- {
- // 播放片头
- // 友盟统计: 进入闪屏
- AndroidInteractive.CallJavaFunction("onEvent", "e_k_8", "1", "1");
- StatHelper.Instance.AddEvent( "e_k_8", "1", "1");
- Invoke("ToUpdate", 1.0f);
- }
- /// <summary>
- /// 去更新
- /// </summary>
- private void ToUpdate()
- {
- SceneManager.LoadScene((int)E_Level.Update);
- //LevelManager.Instance().LoadLevel(E_Level.Update);
- }
- }
|