If your MonoBehaviour will need to use a TNObject, deriving from this class will make it easier.
More...
|
| T | Get< T > (string name) |
| | Get the object-specific data. More...
|
| |
| T | Get< T > (string name, T defVal) |
| | Get the object-specific data. More...
|
| |
| void | Set (string name, object val) |
| | Set the object-specific data. More...
|
| |
| void | Set (string text) |
| | Convenience function to set the data using a single string notation such as "key = value". More...
|
| |
| virtual void | DestroySelf () |
| | Destroy this game object. More...
|
| |
| void | DestroySelf (float delay, bool onlyIfOwner=true) |
| | Destroy this game object on all connected clients and remove it from the server. More...
|
| |
| void | Instantiate (int rccID, string path, bool persistent, params object[] objs) |
| | Convenience method mirroring TNManager.Instantiate. Instantiate a new game object in the behaviour's channel on all connected players. More...
|
| |
| void | Instantiate (string funcName, string path, bool persistent, params object[] objs) |
| | Convenience method mirroring TNManager.Instantiate. Instantiate a new game object in the behaviour's channel on all connected players. More...
|
| |
| void | RemoveAllSavedRFCs () |
| | Immediately remove all saved RFCs. Use this if you want to clear all saved RFCs for any reason. More...
|
| |
If your MonoBehaviour will need to use a TNObject, deriving from this class will make it easier.
| virtual void TNet.TNBehaviour.Awake |
( |
| ) |
|
|
protectedvirtual |
| void TNet.TNBehaviour.CreateTNObject |
( |
| ) |
|
|
protected |
| virtual void TNet.TNBehaviour.DestroySelf |
( |
| ) |
|
|
virtual |
Destroy this game object.
| void TNet.TNBehaviour.DestroySelf |
( |
float |
delay, |
|
|
bool |
onlyIfOwner = true |
|
) |
| |
Destroy this game object on all connected clients and remove it from the server.
| T TNet.TNBehaviour.Get< T > |
( |
string |
name | ) |
|
Get the object-specific data.
| T TNet.TNBehaviour.Get< T > |
( |
string |
name, |
|
|
T |
defVal |
|
) |
| |
Get the object-specific data.
| void TNet.TNBehaviour.Instantiate |
( |
int |
rccID, |
|
|
string |
path, |
|
|
bool |
persistent, |
|
|
params object[] |
objs |
|
) |
| |
Convenience method mirroring TNManager.Instantiate. Instantiate a new game object in the behaviour's channel on all connected players.
| void TNet.TNBehaviour.Instantiate |
( |
string |
funcName, |
|
|
string |
path, |
|
|
bool |
persistent, |
|
|
params object[] |
objs |
|
) |
| |
Convenience method mirroring TNManager.Instantiate. Instantiate a new game object in the behaviour's channel on all connected players.
| void TNet.TNBehaviour.RemoveAllSavedRFCs |
( |
| ) |
|
Immediately remove all saved RFCs. Use this if you want to clear all saved RFCs for any reason.
| void TNet.TNBehaviour.Set |
( |
string |
name, |
|
|
object |
val |
|
) |
| |
Set the object-specific data.
| void TNet.TNBehaviour.Set |
( |
string |
text | ) |
|
Convenience function to set the data using a single string notation such as "key = value".
| virtual void TNet.TNBehaviour.Start |
( |
| ) |
|
|
protectedvirtual |
| bool TNet.TNBehaviour.ignoreMissingTNO = false |
The documentation for this class was generated from the following file: