Beispiel #1
0
    // Start is called before the first frame update

    public void TaskOnClick()
    {
        Debug.Log(scene);
        AutoFadeScript.LoadLevel(scene, 1, 1, Color.black);
    }
Beispiel #2
0
 private void Awake()
 {
     //DontDestroyOnLoad(this);
     m_Instance = this;
     m_Material = new Material(shader);
 }