Twoorb Plugins  1.0
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Twoorb.Utilities.Editor.VersionIncrementerWindow Class Reference

A version incrementer window. Will show up by default after building for iOS, Android, and Blackberry and will prompt you to increment the build version. More...

Inheritance diagram for Twoorb.Utilities.Editor.VersionIncrementerWindow:

Public Member Functions

void Initialize ()
 Initializes the window More...
 
void Increment ()
 Increments the version number More...
 

Static Public Member Functions

static bool HasSettings ()
 Checks if the window has any saved settings. More...
 
static void SetDefault ()
 Sets the settings of the window to its default values. More...
 
static void SaveSettings (bool dontShowAgain, bool incrementAutomatically)
 Saves the window settings with the values in the parameters. More...
 
static void OnPostProcessBuild (BuildTarget target, string pathToBuiltTarget)
 Method that's automatically called after unity builds. More...
 
static VersionIncrementerWindow ShowWindow ()
 Shows the Version incrementer window More...
 

Public Attributes

bool m_incrementAutomatically = true
 Specifies if the version incrementer should increment version automatically More...
 
bool m_dontShowAgain = false
 Specifies if the window should show automatically after a build to ios, android or blackberry More...
 
BuildVersion m_versionIncrementer = null
 Helper class that handles the incrementing of versions More...
 
string m_currentBuildVersion = null
 String that show the current build version More...
 

Detailed Description

A version incrementer window. Will show up by default after building for iOS, Android, and Blackberry and will prompt you to increment the build version.

Member Function Documentation

static bool Twoorb.Utilities.Editor.VersionIncrementerWindow.HasSettings ( )
static

Checks if the window has any saved settings.

Returns
returns if the window has any saved settings.
void Twoorb.Utilities.Editor.VersionIncrementerWindow.Increment ( )

Increments the version number

void Twoorb.Utilities.Editor.VersionIncrementerWindow.Initialize ( )

Initializes the window

static void Twoorb.Utilities.Editor.VersionIncrementerWindow.OnPostProcessBuild ( BuildTarget  target,
string  pathToBuiltTarget 
)
static

Method that's automatically called after unity builds.

Parameters
targetThe target platform of the build
pathToBuiltTargetthe path to the built target
static void Twoorb.Utilities.Editor.VersionIncrementerWindow.SaveSettings ( bool  dontShowAgain,
bool  incrementAutomatically 
)
static

Saves the window settings with the values in the parameters.

Parameters
dontShowAgainSpecifies if the window should show automatically after a build to ios, android or blackberry
incrementAutomaticallySpecifies if the version incrementer should increment version automatically
static void Twoorb.Utilities.Editor.VersionIncrementerWindow.SetDefault ( )
static

Sets the settings of the window to its default values.

static VersionIncrementerWindow Twoorb.Utilities.Editor.VersionIncrementerWindow.ShowWindow ( )
static

Shows the Version incrementer window

Returns
An instance of the Version Incrementer window.

Member Data Documentation

string Twoorb.Utilities.Editor.VersionIncrementerWindow.m_currentBuildVersion = null

String that show the current build version

bool Twoorb.Utilities.Editor.VersionIncrementerWindow.m_dontShowAgain = false

Specifies if the window should show automatically after a build to ios, android or blackberry

bool Twoorb.Utilities.Editor.VersionIncrementerWindow.m_incrementAutomatically = true

Specifies if the version incrementer should increment version automatically

BuildVersion Twoorb.Utilities.Editor.VersionIncrementerWindow.m_versionIncrementer = null

Helper class that handles the incrementing of versions


The documentation for this class was generated from the following file: