C# Class TextSceneSerializer, UnityTextScene

Class responsible for writing Unity scene hierarchies to a textual, humanly readable format.
Datei anzeigen Open project: terravision/UnityTextScene Class Usage Examples

Public Methods

Method Description
Save ( string filePath ) : void
SaveAs ( ) : void
SaveCurrent ( ) : void

Private Methods

Method Description
CompareTransform ( Transform obj1, Transform obj2 ) : int
IndentString ( int indent ) : string
PopupInSceneLinkWarning ( Component comp, string memberName, string linkedObject ) : void
QuatToString ( Quaternion source ) : string
Serialize ( StringBuilder stream, Component comp, int indent ) : void
Serialize ( StringBuilder stream, GameObject go, int indent ) : void
Vector3ToString ( Vector3 source ) : string
WriteComponentValue ( Component comp, string memberType, string memberName, object val, List fieldList ) : bool
WriteLine ( StringBuilder stream, int indent, string line ) : void

Method Details

Save() public static method

public static Save ( string filePath ) : void
filePath string
return void

SaveAs() public static method

public static SaveAs ( ) : void
return void

SaveCurrent() public static method

public static SaveCurrent ( ) : void
return void