I am extremely new to coding but I cant seem to find an answer to fix this error. Any help would be appreciated.
error SC0123: No overload for 'SaveState' matches delegate.
Code (CSharp):
- using System.Collections.Generic;
- using UnityEngine;
- using UnityEngine.SceneManagement;
- public class GameManager : MonoBehaviour
- {
- public static GameManager instance;
- private void Awake()
- {
- if (GameManager.instance != null)
- {
- Destroy(gameObject);
- return;
- }
- instance = this;...