public static void Save(IInputSaver inputSaver) { if (inputSaver == null) { throw new ArgumentNullException("inputSaver"); } inputSaver.Save(_instance.inputConfigurations, _instance.defaultConfiguration); _instance.RaiseSavedEvent(); }
public static void Save(IInputSaver inputSaver) { if (inputSaver != null) { inputSaver.Save(m_instance.GetSaveData()); m_instance.RaiseSavedEvent(); } else { Debug.LogError("InputSaver is null. Cannot save control schemes."); } }
public static void Save(IInputSaver inputSaver) { if (inputSaver != null) { inputSaver.Save(_instance.GetSaveParameters()); _instance.RaiseSavedEvent(); } else { Debug.LogError("InputSaver is null. Cannot save input configurations."); } }
public static void Save(IInputSaver inputSaver) { if (inputSaver == null) throw new ArgumentNullException ("inputSaver"); inputSaver.Save (_instance.inputConfigurations, _instance.defaultConfiguration); _instance.RaiseSavedEvent (); }
public static void Save(IInputSaver inputSaver) { if(inputSaver != null) { inputSaver.Save(_instance.GetSaveParameters()); _instance.RaiseSavedEvent(); } else { Debug.LogError("InputSaver is null. Cannot save input configurations."); } }
public static void Save(IInputSaver inputSaver) { if(inputSaver != null) { inputSaver.Save(_instance.inputConfigurations, _instance.defaultConfiguration); _instance.RaiseSavedEvent(); } else { Debug.LogError("InputSaver is null. Cannot save input configurations."); } }