Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Public Attributes | List of all members
Persistent Class Reference

Add Persistent to a field to allow it to serialize/deserialize More...

Inheritance diagram for Persistent:

Public Member Functions

 Persistent ()
 

Public Attributes

string collectionIndex
 If this field is a list or array use this to set the name given to each item in configs More...
 
bool isPersistant
 Is this field persistant? More...
 
bool link
 If this field is representing a MonoBehaviour reference, will the field create a link to this or not. DEFAULT : SameObject More...
 
string name
 If name is set, the persistance will use this name in the files instead More...
 
int pass
 Use an enum or int to control on which which pass this field is generated by the config node. Default is 0 (always parse) More...
 
PersistentRelation relationship
 If this field is representing a MonoBehaviour reference, the relationship represents how the object will be created if it needs to be created. DEFAULT : SameObject More...
 

Detailed Description

Add Persistent to a field to allow it to serialize/deserialize

Constructor & Destructor Documentation

Persistent.Persistent ( )
inline

Member Data Documentation

string Persistent.collectionIndex

If this field is a list or array use this to set the name given to each item in configs

bool Persistent.isPersistant

Is this field persistant?

bool Persistent.link

If this field is representing a MonoBehaviour reference, will the field create a link to this or not. DEFAULT : SameObject

string Persistent.name

If name is set, the persistance will use this name in the files instead

int Persistent.pass

Use an enum or int to control on which which pass this field is generated by the config node. Default is 0 (always parse)

PersistentRelation Persistent.relationship

If this field is representing a MonoBehaviour reference, the relationship represents how the object will be created if it needs to be created. DEFAULT : SameObject


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