mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 21:01:52 +00:00
23 lines
493 B
C#
23 lines
493 B
C#
using GlitchyEngine.Core;
|
|
|
|
namespace GlitchyEngine.Graphics;
|
|
|
|
/// <summary>
|
|
/// The base class for all assets.
|
|
/// </summary>
|
|
public class Asset : EngineObject
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the Identifier of the asset.
|
|
/// </summary>
|
|
public string Identifier
|
|
{
|
|
get
|
|
{
|
|
ScriptGlue.Asset_GetIdentifier(_uuid, out string identifier);
|
|
return identifier;
|
|
}
|
|
set => ScriptGlue.Asset_SetIdentifier(_uuid, value);
|
|
}
|
|
}
|