示例#1
0
        public static VRLocomotionSettings CreateLocomotionSettingsAsset()
        {
            VRLocomotionSettings instance = CreateInstance <VRLocomotionSettings>();

            AssetDatabase.CreateAsset(instance, Utility.SETTINGS_FILE_PATH);
            return(instance);
        }
示例#2
0
 private void GetSetLocomotionSettings()
 {
     if (Utility.GetLocomotionSettings() == null)
     {
         LocomotionSettings = CreateLocomotionSettingsAsset();
     }
     else
     {
         LocomotionSettings = Utility.GetLocomotionSettings();
     }
 }