Пример #1
0
    /// <summary>
    /// Sets all references.
    /// </summary>
    void Awake()
    {
        instance = this;

        DontDestroyOnLoad(this.gameObject);
    }
    /// <summary>
    /// Sets all references.
    /// </summary>
    void Awake()
    {
        instance = this;

        DontDestroyOnLoad(this.gameObject);
    }