using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class MainMenuSettingsManager : MonoBehaviour { [SerializeField] private GameSettings settings; [SerializeField] private Button volumeButton; [SerializeField] private Button returnButton; // Start is called before the first frame update void Start() { returnButton.onClick.AddListener(MainMenuManager.Instance.ToggleCamera); } // Update is called once per frame void Update() { } }