Skip to content

Commit

Permalink
legacy API
Browse files Browse the repository at this point in the history
  • Loading branch information
hybridherbst committed Dec 30, 2023
1 parent 9a1d186 commit 122f991
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Runtime/Scripts/GLTFSceneExporter.cs
Expand Up @@ -94,9 +94,13 @@ public override bool BeforeMaterialExport(GLTFSceneExporter exporter, GLTFRoot g
}
#pragma warning restore CS0618 // Type or member is obsolete
}

[Obsolete("Use ExportContext instead")]
public class ExportOptions: ExportContext {}
public class ExportOptions: ExportContext
{
public ExportOptions(): base() { }
public ExportOptions(GLTFSettings settings): base(settings) { }
}

public partial class GLTFSceneExporter
{
Expand Down

0 comments on commit 122f991

Please sign in to comment.