public static VRLocomotionSettings CreateLocomotionSettingsAsset() { VRLocomotionSettings instance = CreateInstance <VRLocomotionSettings>(); AssetDatabase.CreateAsset(instance, Utility.SETTINGS_FILE_PATH); return(instance); }
private void GetSetLocomotionSettings() { if (Utility.GetLocomotionSettings() == null) { LocomotionSettings = CreateLocomotionSettingsAsset(); } else { LocomotionSettings = Utility.GetLocomotionSettings(); } }