Twoorb Plugins  1.0
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Twoorb.PrefabSystem.PrefabIdentifier Class Reference

The prefab identifier attaches a unique ID to all the prefabs to be used in the Prefab System. Make sure to attach this script to ALL prefabs you want to use with the Prefab System. More...

Inheritance diagram for Twoorb.PrefabSystem.PrefabIdentifier:
Twoorb.PrefabSystem.RemovableComponent

Public Member Functions

bool PrepareForBuild ()
 Will check all components for PrefabConnections and prepare them for build. Only Use this if you know what you are doing More...
 

Public Attributes

bool m_isLocal = true
 Should the prefab be stored locally or remotely?(in an asset bundle) More...
 
string m_uniqueID = System.Guid.NewGuid().ToString()
 The unique ID of the prefab More...
 
int m_group = 0
 The group number of the prefab. More...
 
string m_contentGroup = "Default"
 The content group number of the prefab More...
 
string m_lastChanged = DateTime.Now.ToUniversalTime().ToString()
 The time when the prefab was last changed. More...
 

Properties

bool IsLocal [get, set]
 Should the prefab be stored locally or remotely(in an asset bundle)? More...
 
string UniqueID [get, set]
 The unique ID of the prefab More...
 
int Group [get, set]
 The group number of the prefab. More...
 
string ContentGroup [get, set]
 The content group of the prefab More...
 
string LastChanged [get, set]
 The time when the prefab was last changed. More...
 

Detailed Description

The prefab identifier attaches a unique ID to all the prefabs to be used in the Prefab System. Make sure to attach this script to ALL prefabs you want to use with the Prefab System.

Member Function Documentation

bool Twoorb.PrefabSystem.PrefabIdentifier.PrepareForBuild ( )

Will check all components for PrefabConnections and prepare them for build. Only Use this if you know what you are doing

Member Data Documentation

string Twoorb.PrefabSystem.PrefabIdentifier.m_contentGroup = "Default"

The content group number of the prefab

int Twoorb.PrefabSystem.PrefabIdentifier.m_group = 0

The group number of the prefab.

bool Twoorb.PrefabSystem.PrefabIdentifier.m_isLocal = true

Should the prefab be stored locally or remotely?(in an asset bundle)

string Twoorb.PrefabSystem.PrefabIdentifier.m_lastChanged = DateTime.Now.ToUniversalTime().ToString()

The time when the prefab was last changed.

string Twoorb.PrefabSystem.PrefabIdentifier.m_uniqueID = System.Guid.NewGuid().ToString()

The unique ID of the prefab

Property Documentation

string Twoorb.PrefabSystem.PrefabIdentifier.ContentGroup
getset

The content group of the prefab

int Twoorb.PrefabSystem.PrefabIdentifier.Group
getset

The group number of the prefab.

bool Twoorb.PrefabSystem.PrefabIdentifier.IsLocal
getset

Should the prefab be stored locally or remotely(in an asset bundle)?

string Twoorb.PrefabSystem.PrefabIdentifier.LastChanged
getset

The time when the prefab was last changed.

string Twoorb.PrefabSystem.PrefabIdentifier.UniqueID
getset

The unique ID of the prefab


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