Example #1
0
 private void Awake()
 {
     instance = this;
     canvas.gameObject.SetActive(true);
     GameObject.DontDestroyOnLoad(this);
 }
Example #2
0
    private void Awake()
    {
        instance = this;

        GameObject.DontDestroyOnLoad(this);
    }