Class TinyProjectSettings
Placeholder implementation.
This class should be used as the root entry point for all project and platform settings.
Currently this is used as a place to dump all settings for all platforms.
Inheritance
System.Object
TinyProjectSettings
Syntax
public sealed class TinyProjectSettings : IPropertyContainer, IPropertyContainer
Constructors
TinyProjectSettings(IVersionStorage)
Declaration
public TinyProjectSettings(IVersionStorage versionStorage)
Parameters
Type |
Name |
Description |
IVersionStorage |
versionStorage |
|
Properties
CanvasAutoResize
Whether or not the rendered output should resize according to the host canvas element size.
Declaration
public bool CanvasAutoResize { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
CanvasAutoResizeProperty
Declaration
public static ValueClassProperty<TinyProjectSettings, bool> CanvasAutoResizeProperty { get; }
Property Value
CanvasHeight
Rendered output height, in pixels.
Declaration
public int CanvasHeight { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
CanvasHeightProperty
Declaration
public static ValueClassProperty<TinyProjectSettings, int> CanvasHeightProperty { get; }
Property Value
CanvasWidth
Rendered output width, in pixels.
Declaration
public int CanvasWidth { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
CanvasWidthProperty
Declaration
public static ValueClassProperty<TinyProjectSettings, int> CanvasWidthProperty { get; }
Property Value
DefaultAnimationClipSettings
Default animation clip export settings.
Declaration
public TinyAnimationClipSettings DefaultAnimationClipSettings { get; set; }
Property Value
DefaultAnimationClipSettingsProperty
Declaration
public static ClassValueClassProperty<TinyProjectSettings, TinyAnimationClipSettings> DefaultAnimationClipSettingsProperty { get; }
Property Value
DefaultAudioClipSettings
Default audio clip export settings.
Declaration
public TinyAudioClipSettings DefaultAudioClipSettings { get; set; }
Property Value
DefaultAudioClipSettingsProperty
Declaration
public static ClassValueClassProperty<TinyProjectSettings, TinyAudioClipSettings> DefaultAudioClipSettingsProperty { get; }
Property Value
DefaultTextureSettings
Default texture export settings.
Declaration
public TinyTextureSettings DefaultTextureSettings { get; set; }
Property Value
DefaultTextureSettingsProperty
Declaration
public static ClassValueClassProperty<TinyProjectSettings, TinyTextureSettings> DefaultTextureSettingsProperty { get; }
Property Value
EmbedAssets
Whether or not to embed (inline as data URLs) assets in the generated output by default. Each asset can override this setting.
Declaration
public bool EmbedAssets { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
EmbedAssetsProperty
Declaration
public static ValueClassProperty<TinyProjectSettings, bool> EmbedAssetsProperty { get; }
Property Value
IncludeWebPDecompressor
Ensure that WebP textures can be decompressed on any platform. This impacts code size.
Declaration
public bool IncludeWebPDecompressor { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
IncludeWebPDecompressorProperty
Declaration
public static ValueClassProperty<TinyProjectSettings, bool> IncludeWebPDecompressorProperty { get; }
Property Value
LinkToSource
Reference the generated JavaScript output file directly for faster iterations. Development configurations only.
Declaration
public bool LinkToSource { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
LinkToSourceProperty
Declaration
public static ValueClassProperty<TinyProjectSettings, bool> LinkToSourceProperty { get; }
Property Value
LocalHTTPServerPort
Port used to serve Tiny content over HTTP.
Declaration
public int LocalHTTPServerPort { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
LocalHTTPServerPortProperty
Declaration
public static ValueClassProperty<TinyProjectSettings, int> LocalHTTPServerPortProperty { get; }
Property Value
LocalWSServerPort
Port used to establish a connection between the Editor and Tiny players.
Declaration
public int LocalWSServerPort { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
LocalWSServerPortProperty
Declaration
public static ValueClassProperty<TinyProjectSettings, int> LocalWSServerPortProperty { get; }
Property Value
MemorySize
Fixed Emscripten heap memory size, in MBs.
Declaration
public int MemorySize { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
MemorySizeProperty
Declaration
public static ValueClassProperty<TinyProjectSettings, int> MemorySizeProperty { get; }
Property Value
MinifyJavaScript
Minify JavaScript game code. Release configuration only.
Declaration
public bool MinifyJavaScript { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
MinifyJavaScriptProperty
Declaration
public static ValueClassProperty<TinyProjectSettings, bool> MinifyJavaScriptProperty { get; }
Property Value
PropertyBag
Declaration
public IPropertyBag PropertyBag { get; }
Property Value
Type |
Description |
IPropertyBag |
|
RenderMode
Initial player rendering mode.
Declaration
public RenderingMode RenderMode { get; set; }
Property Value
RenderModeProperty
Declaration
public static ValueClassProperty<TinyProjectSettings, RenderingMode> RenderModeProperty { get; }
Property Value
RunBabel
Transpile the JavaScript game code to portable ECMA5.
Declaration
public bool RunBabel { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
RunBabelProperty
Declaration
public static ValueClassProperty<TinyProjectSettings, bool> RunBabelProperty { get; }
Property Value
SingleFileHtml
Inline all JavaScript code in the output HTML file. Release configuration only.
Declaration
public bool SingleFileHtml { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
SingleFileHtmlProperty
Declaration
public static ValueClassProperty<TinyProjectSettings, bool> SingleFileHtmlProperty { get; }
Property Value
SymbolsInReleaseBuild
Whether release builds should include symbols or not. If they do not, they will also be stripped.
Declaration
public bool SymbolsInReleaseBuild { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
SymbolsInReleaseBuildProperty
Declaration
public static ValueClassProperty<TinyProjectSettings, bool> SymbolsInReleaseBuildProperty { get; }
Property Value
VersionStorage
Declaration
public IVersionStorage VersionStorage { get; }
Property Value
Type |
Description |
IVersionStorage |
|
Methods
GetDefaultAssetExportSettings(Type)
Declaration
public TinyAssetExportSettings GetDefaultAssetExportSettings(Type type)
Parameters
Type |
Name |
Description |
Type |
type |
|
Returns