Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

EditorUtility.ExtractOggFile

static function ExtractOggFile(obj: Object, path: string): bool;
static bool ExtractOggFile(Object obj, string path);
static def ExtractOggFile(obj as Object, path as string) as bool

Description

Saves an AudioClip or MovieTexture to a file.

Will save an Ogg Vorbis or Ogg Theora file at the specified path.