C# Класс HoloToolkit.Examples.SharingWithUNET.PlayerController

Наследование: NetworkBehaviour, IInputClickHandler
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
bullet UnityEngine.GameObject

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
CmdFire ( ) : void
CmdTransform ( Vector3 postion, Quaternion rotation ) : void
Start ( ) : void
Update ( ) : void

Описание методов

OnSelect() публичный Метод

Called by the gesture manager when an airtap is seen.
public OnSelect ( ) : void
Результат void

OnStartLocalPlayer() публичный Метод

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
Результат void

Описание свойств

bullet публичное свойство

The game object that represents the 'bullet' for this player. Must exist in the spawnable prefabs on the NetworkManager.
public GameObject,UnityEngine bullet
Результат UnityEngine.GameObject