Пример #1
0
    private void Awake()
    {
        if (instance != null && instance != this)
        {
            Destroy(this.gameObject);
        }

        instance = this;
        DontDestroyOnLoad(this.gameObject);

        SetupDeuggerText();
    }
Пример #2
0
 private void Start()
 {
     aRFaceDebugData = GameObject.FindObjectOfType <ARFaceDebugData>();
 }