C# Class LoadXmlSettings, Elemental

Inheritance: MonoBehaviour
Mostrar archivo Open project: CodeStrumpet/Elemental

Public Properties

Property Type Description
autoLoad bool
mainCameraObject GameObject
meshObject GameObject
xmlFilename string

Public Methods

Method Description
Load ( ) : void
ReadOrthographicSize ( XmlTextReader textReader, GameObject go ) : void
ReadPosition ( XmlTextReader textReader, GameObject go ) : void
ReadRotation ( XmlTextReader textReader, GameObject go ) : void
ReadScale ( XmlTextReader textReader, GameObject go ) : void
ReadTransform ( XmlTextReader textReader, GameObject go ) : void
ScanToNode ( XmlTextReader textReader, string name ) : void
Start ( ) : void
Update ( ) : void

Private Methods

Method Description
CheckCurrentNode ( XmlTextReader textReader, string name ) : bool
GetFloat ( XmlTextReader textReader ) : float

Method Details

Load() public method

public Load ( ) : void
return void

ReadOrthographicSize() public method

public ReadOrthographicSize ( XmlTextReader textReader, GameObject go ) : void
textReader XmlTextReader
go GameObject
return void

ReadPosition() public method

public ReadPosition ( XmlTextReader textReader, GameObject go ) : void
textReader XmlTextReader
go GameObject
return void

ReadRotation() public method

public ReadRotation ( XmlTextReader textReader, GameObject go ) : void
textReader XmlTextReader
go GameObject
return void

ReadScale() public method

public ReadScale ( XmlTextReader textReader, GameObject go ) : void
textReader XmlTextReader
go GameObject
return void

ReadTransform() public method

public ReadTransform ( XmlTextReader textReader, GameObject go ) : void
textReader XmlTextReader
go GameObject
return void

ScanToNode() public method

public ScanToNode ( XmlTextReader textReader, string name ) : void
textReader XmlTextReader
name string
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

autoLoad public_oe property

public bool autoLoad
return bool

mainCameraObject public_oe property

public GameObject mainCameraObject
return GameObject

meshObject public_oe property

public GameObject meshObject
return GameObject

xmlFilename public_oe property

public string xmlFilename
return string