Method | Description | |
---|---|---|
DeleteFileIfExist ( string path ) : bool |
Deletes the file if exist.
|
|
EnsureDirectory ( string path ) : void |
Ensures the existance of a directory.
|
|
ExistFile ( string path ) : bool |
Check if a file Exists.
|
|
GetGameViewSize ( ) : Vector2 |
Gets the size of the Game View screen.
|
|
OpenFirstScene ( ) : bool |
Opens the first scene.
|
|
OpenScene ( ISceneFileEntity entity ) : bool |
Opens the scene.
|
|
OpenScene ( string scene ) : bool |
Opens the scene in editor.
|
|
SaveText ( string text, string path ) : void |
Saves a text into a file.
|
|
TakeSnapshot ( string path, int scale ) : string | ||
TakeSnapshot ( string path, int scale, string suggestedFolder, string suggestedName ) : string |
Takes a snapshot of the current visible screen and save it.
|
public static DeleteFileIfExist ( string path ) : bool | ||
path | string | Path. |
return | bool |
public static EnsureDirectory ( string path ) : void | ||
path | string | Path. |
return | void |
public static ExistFile ( string path ) : bool | ||
path | string | Path. |
return | bool |
public static OpenScene ( ISceneFileEntity entity ) : bool | ||
entity | ISceneFileEntity | Entity. |
return | bool |
public static OpenScene ( string scene ) : bool | ||
scene | string | Scene. |
return | bool |
public static SaveText ( string text, string path ) : void | ||
text | string | Text. |
path | string | Path. |
return | void |
public static TakeSnapshot ( string path, int scale ) : string | ||
path | string | |
scale | int | |
return | string |
public static TakeSnapshot ( string path, int scale, string suggestedFolder, string suggestedName ) : string | ||
path | string | |
scale | int | |
suggestedFolder | string | |
suggestedName | string | |
return | string |