C# Class SorcererInstanceManager

Inheritance: MonoBehaviour
显示文件 Open project: marouen-lamiri/Second-Soul Class Usage Examples

Public Properties

Property Type Description
doCheckForNewSorcererNetworkInstantiatedByClient bool
sorcerer Sorcerer,

Public Methods

Method Description
DestroySorcerer ( ) : void
checkForNewSorcererNetworkInstantiatedByClient ( ) : void
createAndSwapNewSorcerer ( Sorcerer, sorcererPrefab, Transform transf ) : void
getSorcerer ( ) : Sorcerer,
subscribe ( ISorcererSubscriber subscriber ) : void

Private Methods

Method Description
Awake ( ) : void
OnDisconnectedFromServer ( NetworkDisconnection info ) : void
OnPlayerConnected ( NetworkPlayer player ) : void
OnPlayerDisconnected ( NetworkPlayer player ) : void
Start ( ) : void
Update ( ) : void
findFirstActiveAnimationOnGameObject ( Player, player ) : string
publishNewSorcererInstance ( ) : void
swapSorcerers ( Sorcerer, newSorcerer ) : void

Method Details

DestroySorcerer() public static method

public static DestroySorcerer ( ) : void
return void

checkForNewSorcererNetworkInstantiatedByClient() public static method

public static checkForNewSorcererNetworkInstantiatedByClient ( ) : void
return void

createAndSwapNewSorcerer() public static method

public static createAndSwapNewSorcerer ( Sorcerer, sorcererPrefab, Transform transf ) : void
sorcererPrefab Sorcerer,
transf Transform
return void

getSorcerer() public static method

public static getSorcerer ( ) : Sorcerer,
return Sorcerer,

subscribe() public static method

public static subscribe ( ISorcererSubscriber subscriber ) : void
subscriber ISorcererSubscriber
return void

Property Details

doCheckForNewSorcererNetworkInstantiatedByClient public_oe static_oe property

public static bool doCheckForNewSorcererNetworkInstantiatedByClient
return bool

sorcerer public_oe static_oe property

public static Sorcerer, sorcerer
return Sorcerer,