Platform builder. More...

Public Member Functions

delegate void BuildingStart ()
 
delegate void BuildingComplete (bool success)
 
delegate void BuildStart (BuildTarget target, string path, string name)
 
delegate void BuildComplete (BuildTarget target, string path, bool success)
 
delegate void BuildAllStart ()
 
delegate void BuildAllComplete (bool success)
 

Static Public Member Functions

static bool Build (BuildTarget target, string path=null, string name=null, params string[] scenes)
 Builds the given target. More...
 
static bool BuildAll (string path=null, string name=null, params string[] scenes)
 Builds all selected targets. More...
 
static void BuildAllCLI ()
 Builds all selected targets via CLI. More...
 
static void BuildCLI ()
 Builds the targets via CLI. More...
 
static void BuildTPS ()
 Builds the current target via TPS. More...
 
static void SayHello ()
 Test building with an execute method. More...
 
static void MethodBeforeBuilding ()
 Test method (before building). More...
 
static void MethodAfterBuilding ()
 Test method (after building). More...
 
static void MethodBeforeBuild ()
 Test method (before a build). More...
 
static void MethodAfterBuild ()
 Test method (after a build). More...
 
static void MethodBeforeBuildAll ()
 Test method (before build all). More...
 
static void MethodAfterBuildAll ()
 Test method (after build all). More...
 
static void CompressDirectory (string directory, string zipFileOutputPath)
 

Properties

static BuildTarget CurrentBuildTarget = BuildTarget.NoTarget [get]
 The current build target. More...
 
static bool isBusy [get]
 True if the Builder is busy. More...
 

Events

static BuildingStart OnBuildingStart
 An event triggered before the build process starts. More...
 
static BuildingComplete OnBuildingComplete
 An event triggered after the build process is completed. More...
 
static BuildStart OnBuildStart
 An event triggered whenever a build is started. More...
 
static BuildComplete OnBuildComplete
 An event triggered whenever a build is completed. More...
 
static BuildAllStart OnBuildAllStart
 An event triggered whenever the "BuildAll"-method is started. More...
 
static BuildAllComplete OnBuildAllComplete
 An event triggered whenever the "BuildAll"-method is completed. More...
 

Detailed Description

Platform builder.

Member Function Documentation

◆ Build()

static bool Crosstales.TPB.Builder.Build ( BuildTarget  target,
string  path = null,
string  name = null,
params string[]  scenes 
)
static

Builds the given target.

Parameters
targetBuild target
pathBuild path (optional)
nameName of the build artifact (optional)
scenesScenes for the build (optional)
Returns
True if the build was successful.

◆ BuildAll()

static bool Crosstales.TPB.Builder.BuildAll ( string  path = null,
string  name = null,
params string[]  scenes 
)
static

Builds all selected targets.

Parameters
pathBuild path (optional)
nameName of the build artifact (optional)
scenesScenes for the build (optional)
Returns
True if the builds were successful.

◆ BuildAllCLI()

static void Crosstales.TPB.Builder.BuildAllCLI ( )
static

Builds all selected targets via CLI.

◆ BuildCLI()

static void Crosstales.TPB.Builder.BuildCLI ( )
static

Builds the targets via CLI.

◆ BuildTPS()

static void Crosstales.TPB.Builder.BuildTPS ( )
static

Builds the current target via TPS.

◆ MethodAfterBuild()

static void Crosstales.TPB.Builder.MethodAfterBuild ( )
static

Test method (after a build).

◆ MethodAfterBuildAll()

static void Crosstales.TPB.Builder.MethodAfterBuildAll ( )
static

Test method (after build all).

◆ MethodAfterBuilding()

static void Crosstales.TPB.Builder.MethodAfterBuilding ( )
static

Test method (after building).

◆ MethodBeforeBuild()

static void Crosstales.TPB.Builder.MethodBeforeBuild ( )
static

Test method (before a build).

◆ MethodBeforeBuildAll()

static void Crosstales.TPB.Builder.MethodBeforeBuildAll ( )
static

Test method (before build all).

◆ MethodBeforeBuilding()

static void Crosstales.TPB.Builder.MethodBeforeBuilding ( )
static

Test method (before building).

◆ SayHello()

static void Crosstales.TPB.Builder.SayHello ( )
static

Test building with an execute method.

Property Documentation

◆ CurrentBuildTarget

BuildTarget Crosstales.TPB.Builder.CurrentBuildTarget = BuildTarget.NoTarget
staticget

The current build target.

◆ isBusy

bool Crosstales.TPB.Builder.isBusy
staticget

True if the Builder is busy.

Event Documentation

◆ OnBuildAllComplete

BuildAllComplete Crosstales.TPB.Builder.OnBuildAllComplete
static

An event triggered whenever the "BuildAll"-method is completed.

◆ OnBuildAllStart

BuildAllStart Crosstales.TPB.Builder.OnBuildAllStart
static

An event triggered whenever the "BuildAll"-method is started.

◆ OnBuildComplete

BuildComplete Crosstales.TPB.Builder.OnBuildComplete
static

An event triggered whenever a build is completed.

◆ OnBuildingComplete

BuildingComplete Crosstales.TPB.Builder.OnBuildingComplete
static

An event triggered after the build process is completed.

◆ OnBuildingStart

BuildingStart Crosstales.TPB.Builder.OnBuildingStart
static

An event triggered before the build process starts.

◆ OnBuildStart

BuildStart Crosstales.TPB.Builder.OnBuildStart
static

An event triggered whenever a build is started.


The documentation for this class was generated from the following file:
  • C:/Users/slaub/Unity/assets/TurboBuilder/TurboBuilder/Assets/Plugins/crosstales/TurboBuilder/Scripts/Editor/Builder.cs