Class SerializationDataContainer
Inheritance
SerializationDataContainer
Assembly: cs.temp.dll.dll
Syntax
public class SerializationDataContainer
Fields
serializationOrder
Declaration
public List<SerializableType> serializationOrder
Field Value
serializedFloats
Declaration
public SerializedFloats serializedFloats
Field Value
serializedGameobjects
Declaration
public SerializedGameobjects serializedGameobjects
Field Value
serializedInts
Declaration
public SerializedInts serializedInts
Field Value
serializedStrings
Declaration
public SerializedStrings serializedStrings
Field Value
serializedVectors
Declaration
public SerializedVectors serializedVectors
Field Value
Methods
AddSerializedData(String, GameObject)
Declaration
public void AddSerializedData(string key, GameObject value)
Parameters
Type |
Name |
Description |
String |
key |
|
GameObject |
value |
|
AddSerializedData(String, Int32)
Declaration
public void AddSerializedData(string key, int value)
Parameters
AddSerializedData(String, Single)
Declaration
public void AddSerializedData(string key, float value)
Parameters
AddSerializedData(String, String)
Declaration
public void AddSerializedData(string key, string value)
Parameters
AddSerializedData(String, Vector3)
Declaration
public void AddSerializedData(string key, Vector3 value)
Parameters
Type |
Name |
Description |
String |
key |
|
Vector3 |
value |
|
Clear()
Deletes everything that was serialized
Declaration
GetKeyByIndex(Int32, SerializableType)
Retrives the key of the item at position index.
Declaration
public string GetKeyByIndex(int index, SerializableType type)
Parameters
Returns
GetSerializedFloat(String)
Declaration
public float GetSerializedFloat(string key)
Parameters
Type |
Name |
Description |
String |
key |
|
Returns
GetSerializedGameobjects(String)
Declaration
public GameObject GetSerializedGameobjects(string key)
Parameters
Type |
Name |
Description |
String |
key |
|
Returns
Type |
Description |
GameObject |
|
GetSerializedInt(String)
Declaration
public int GetSerializedInt(string key)
Parameters
Type |
Name |
Description |
String |
key |
|
Returns
GetSerializedString(String)
Declaration
public string GetSerializedString(string key)
Parameters
Type |
Name |
Description |
String |
key |
|
Returns
GetSerializedVector(String)
Declaration
public Vector3 GetSerializedVector(string key)
Parameters
Type |
Name |
Description |
String |
key |
|
Returns