class GameResourceAttribute

in global :: Sandbox

Should be applied to a class that inherits from . Makes the class able to be stored as an asset on disk.


public string Name { get; set; }

The title of this game resource.

public string Description { get; set; }

Description of this game resource.

public string Extension { get; set; }

File extension for this game resource.

public string Icon { get; set; }

Icon to be used for this asset Can be an absolute path of a PNG Or a material icon for this game resource's thumbnail.

public string IconBgColor { get; set; }

Background color for this resource's thumbnail.

public string IconFgColor { get; set; }

Foreground color (icon color) for this resource's thumbnail.

public string Category { get; set; }

Category of this game resource, for grouping in UI.

public Type TargetType { get; set; }

😔 No documentation found.

public bool Equals( object obj )

😔 No documentation found.

public int GetHashCode( )

😔 No documentation found.

public object TypeId { get; }

😔 No documentation found.

public bool Match( object obj )

😔 No documentation found.

public bool IsDefaultAttribute( )

😔 No documentation found.

public Type GetType( )

😔 No documentation found.

public string ToString( )

😔 No documentation found.

public GameResourceAttribute( string title, string extension, string description )

😔 No documentation found.