protected override void Awake() { // CALL BASE AWAKE TO ENSURE THERE ARE NO OTHER INSTANCES OF THE GAME MANAGER IN THE SCENE base.Awake(); // LOAD THE SCRIPTABLEOBJECTS TO BE USED THROUGHOUT THE GAME. SOSaveHandler = Resources.Load("ScriptableObjects/PlayerSaveFile", typeof(SOSaveFile)) as SOSaveFile; SOEffectHandler = Resources.Load("ScriptableObjects/SOEffectHandler", typeof(SOEffects)) as SOEffects; _IM = InputManager.Instance.GetComponent <InputManager>(); _WM = WindowManager.Instance.GetComponent <WindowManager>(); eventSystem = EventSystemSingleton.Instance.GetComponent <StandaloneInputModule>(); SOEffectHandler.LoadEffects(); }