C# Class HoloToolkit.Examples.SharingWithUNET.PlayerController

Inheritance: NetworkBehaviour, IInputClickHandler
Afficher le fichier Open project: Microsoft/HoloToolkit-Unity

Méthodes publiques

Свойство Type Description
bullet UnityEngine.GameObject

Méthodes publiques

Méthode Description
OnSelect ( ) : void

Called by the gesture manager when an airtap is seen.

OnStartLocalPlayer ( ) : void

Called when the local player starts. In general the side effect should not be noticed as the players' avatar is always rendered on top of their head.

Private Methods

Méthode Description
CmdFire ( ) : void
CmdTransform ( Vector3 postion, Quaternion rotation ) : void
Start ( ) : void
Update ( ) : void

Method Details

OnSelect() public méthode

Called by the gesture manager when an airtap is seen.
public OnSelect ( ) : void
Résultat void

OnStartLocalPlayer() public méthode

Called when the local player starts. In general the side effect should not be noticed as the players' avatar is always rendered on top of their head.
public OnStartLocalPlayer ( ) : void
Résultat void

Property Details

bullet public_oe property

The game object that represents the 'bullet' for this player. Must exist in the spawnable prefabs on the NetworkManager.
public GameObject,UnityEngine bullet
Résultat UnityEngine.GameObject