C# Class CameraDispatcher, unity-unet-authoritative-networking

Central camera for dispatching event and enabling/disabling other camera scripts If we are in game, we activate the player camera scripts If not, we activate spectator camera scripts
Inheritance: MonoBehaviour
ファイルを表示 Open project: atrakeur/unity-unet-authoritative-networking

Public Methods

Method Description
SetCurrentCharacterTarget ( GameObject target ) : void

Set current character target (ie: when spawning a new local player)

Private Methods

Method Description
Start ( ) : void

Method Details

SetCurrentCharacterTarget() public method

Set current character target (ie: when spawning a new local player)
public SetCurrentCharacterTarget ( GameObject target ) : void
target GameObject
return void