Beispiel #1
0
    private void Awake()
    {
        // if the singleton hasn't been initialized yet
        if (instance != null && instance != this)
        {
            Destroy(this.gameObject);
        }

        instance = this;
        DontDestroyOnLoad(this.gameObject);

        Reference();
        SymbolLoader.instance.Initialise();
        CFunc.LoadScore();
    }