TNet 3  3.0.8
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros
TNet.TNAutoCreate Class Reference

Instantiate the specified prefab at the game object's position. More...

Inheritance diagram for TNet.TNAutoCreate:

Public Attributes

int channelID = 0
 ID of the channel where the prefab should be created. '0' means "last used channel". More...
 
string prefabPath
 Prefab to instantiate. More...
 
bool persistent = false
 Whether the instantiated object will remain in the game when the player that created it leaves. Set this to 'false' for the player's avatar. More...
 

Detailed Description

Instantiate the specified prefab at the game object's position.

Member Data Documentation

int TNet.TNAutoCreate.channelID = 0

ID of the channel where the prefab should be created. '0' means "last used channel".

bool TNet.TNAutoCreate.persistent = false

Whether the instantiated object will remain in the game when the player that created it leaves. Set this to 'false' for the player's avatar.

string TNet.TNAutoCreate.prefabPath

Prefab to instantiate.


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