Class GameCookerWindow
Editor tool window for building games using GameCooker.
Inheritance
Implements
Namespace: FlaxEditor.Windows
Assembly: FlaxEngine.CSharp.dll
Syntax
public sealed class GameCookerWindow : EditorWindow, IComparable, IDrawable
Constructors
GameCookerWindow(Editor)
Initializes a new instance of the GameCookerWindow class.
Declaration
public GameCookerWindow(Editor editor)
Parameters
Editor
editor
The editor. |
Methods
Build(BuildPreset, BuildTarget)
Builds the target.
Declaration
public void Build(BuildPreset preset, BuildTarget target)
Parameters
BuildPreset
preset
The preset. |
FlaxEditor.Content.Settings.BuildTarget
target
The target. |
BuildAll(BuildPreset)
Builds all the targets from the given preset.
Declaration
public void BuildAll(BuildPreset preset)
Parameters
BuildPreset
preset
The preset. |
BuildAndRun()
Builds the target for this platform and runs it on this device.
Declaration
public void BuildAndRun()
CanBuild(PlatformType)
Returns true if can build for the given platform (both supported and available).
Declaration
public bool CanBuild(PlatformType platformType)
Parameters
PlatformType
platformType
The platform. |
Returns
System.Boolean
True if can build, otherwise false. |
OnDestroy()
Method called when managed instance should be destroyed
Declaration
public override void OnDestroy()
Overrides
OnInit()
Called when window should be initialized. At this point, main window, content database, default editor windows are ready.
Declaration
public override void OnInit()
Overrides
OnUpdate()
Called when every engine update. Note: Update(Single) may be called at the lower frequency than the engine updates.
Declaration
public override void OnUpdate()
Overrides
RunCooked()
Runs the cooked game for this platform on this device.
Declaration
public void RunCooked()