There is a script “RandomLevel”
using UnityEngine;
using UnityEngine.SceneManagement;
using System.Collections.Generic;
public class RandomLevel : MonoBehaviour
{
void Start ()
{
// DontDestroyOnLoad( this );
if (SceneMixer.SceneCount == 0)
SceneMixer.Recreate();
}
void OnMouseUpAsButton()
{
switch (gameObject.name)
{
case "Skip":
SceneManager.LoadScene(SceneMixer.NextScene());
break;
}
}
}
RandomLevel needs a reward for viewing admob ads, when you click on a GameObject on which the collider stands.
Help me Please!
Thanks.