示例#1
0
 // Use this for initialization
 void Start()
 {
     WapsUnitySDK.removeBannerAdAction();
     ballAction.hit_player = 0;
     Time.timeScale        = 1;
     refreshed             = 0;
     StartCoroutine(FindAndSet(1000));
 }
示例#2
0
    // Update is called once per frame
    void Update()
    {
        if (Input.GetKey(KeyCode.Escape))
        {
            Application.Quit();
        }

        if (Ad_over == false && WapsUnitySDK.getConfigOnLine() == "true")
        {
            Ad_over = true;
            WapsUnitySDK.popAdShowAction();
            WapsUnitySDK.bannerAdShowAction();
        }
    }
示例#3
0
 void OnDestroy()
 {
     s_cInstance = null;
 }
示例#4
0
    // Use this for initialization

    void Awake()
    {
        DontDestroyOnLoad(this.gameObject);
        WapsUnitySDK.init();
    }