Beispiel #1
0
    protected virtual void Awake()
    {
        if (instance != null)
        {
            Destroy(this.gameObject);
        }

        instance = this;

        Initialize();
    }
Beispiel #2
0
    protected virtual void Awake()
    {
        instance = this;

        Initialize();
    }