Add SceneReference to C++ scripting API

This commit is contained in:
2022-12-02 10:05:07 +01:00
parent cfffc76aa6
commit 0f19fc64fd
2 changed files with 19 additions and 9 deletions
+1 -9
View File
@@ -4,16 +4,8 @@ using System;
namespace FlaxEngine
{
/// <summary>
/// Represents the reference to the scene asset. Stores the unique ID of the scene to reference. Can be used to load the selected scene.
/// </summary>
public struct SceneReference : IComparable, IComparable<Guid>, IComparable<SceneReference>
partial struct SceneReference : IComparable, IComparable<Guid>, IComparable<SceneReference>
{
/// <summary>
/// The identifier of the scene asset (and the scene object).
/// </summary>
public Guid ID;
/// <summary>
/// Initializes a new instance of the <see cref="SceneReference"/> class.
/// </summary>