Click or drag to resize
CoronaRuntimeLaunchSettingsResourceDirectoryPath Property

Gets or sets the path Corona will use for its resource directory.

This is the directory that Lua property "system.ResourceDirectory" maps to.

By default, this is set to the application's read-only ".\Assets\Corona" directory.

The caller can change this to a writable Application Data directory, which is useful if the Corona project files were downloaded.

Namespace: CoronaLabs.Corona.WinRT
Assembly: CoronaLabs (in CoronaLabs.dll) Version: 255.255.255.255
Syntax
public string ResourceDirectoryPath { get; set; }

Property Value

Type: String

The path to Corona's resource directory.

Corona will automatically create the directory if it does not exist on startup. However, if the path is to a read-only Assets directory, then the directory must already exist.

When setting this property, it is recommended to set it to an absolute path.

Can be set to null or empty string, which will make Corona use its default path for this directory instead.

See Also