class ResourceGenerator

in global :: Sandbox . Resources

Creates a resource from a json definition


public bool CacheToDisk { get; }

If true then the generation will create a real resource and store it on disk. Use this if creating the resource takes a while, or you won't be shipping the generator with the game, or if it relies on data that won't be available in the shipped game.

public void Deserialize( JsonObject obj )

Copy properties from obj to us

public static ResourceGenerator<T> Create( string generatorName )

😔 No documentation found.

public static ResourceGenerator<T> Create( EmbeddedResource serialized )

😔 No documentation found.

public static T CreateResource( EmbeddedResource obj, ResourceGenerator.Options options )

😔 No documentation found.

public ulong GetHash( )

😔 No documentation found.

public Type GetType( )

😔 No documentation found.

public string ToString( )

😔 No documentation found.

public bool Equals( object obj )

😔 No documentation found.

public int GetHashCode( )

😔 No documentation found.