C# Class NetworkController, demo-kgc-2015

Inheritance: NetworkManager
Afficher le fichier Open project: iFunFactory/demo-kgc-2015 Class Usage Examples

Méthodes publiques

Свойство Type Description
instance NetworkController
m_ChanOtherPrefab GameObject
m_ChanPrefab GameObject

Méthodes publiques

Méthode Description
GetMyPlayer ( ) : GameObject
SendChangeFace ( string clip, int layer ) : void
SendInput ( InputUpdate input ) : void

Private Methods

Méthode Description
Awake ( ) : void
OnApplicationQuit ( ) : void
OnFaceUpdate ( string msg_type, object body ) : void
OnFacebookEvent ( SnResultCode result ) : void
OnKilled ( string msg_type, object body ) : void
OnSessionClosed ( ) : void
OnSessionInitiated ( string session_id ) : void
OnSpawnOther ( string msg_type, object body ) : void
OnSpawnSelf ( string msg_type, object body ) : void
OnUpdate ( string msg_type, object body ) : void
SpawnPlayer ( int id, Vector3 pos ) : void
Update ( ) : void

Method Details

GetMyPlayer() public méthode

public GetMyPlayer ( ) : GameObject
Résultat GameObject

SendChangeFace() public méthode

public SendChangeFace ( string clip, int layer ) : void
clip string
layer int
Résultat void

SendInput() public méthode

public SendInput ( InputUpdate input ) : void
input InputUpdate
Résultat void

Property Details

instance public_oe static_oe property

public static NetworkController instance
Résultat NetworkController

m_ChanOtherPrefab public_oe property

public GameObject m_ChanOtherPrefab
Résultat GameObject

m_ChanPrefab public_oe property

public GameObject m_ChanPrefab
Résultat GameObject