C# Класс UNetAnchorManager

Creates, exports, and imports anchors as required.
Наследование: NetworkBehaviour
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
CreateAnchor ( ) : void

If we are supposed to create the anchor for export, this is the function to call.

WaitForAnchor ( ) : void

If we don't have the anchor already, call this to download the anchor.

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

Метод Описание
AttachToCachedAnchor ( string AnchorName ) : bool

Attempts to attach to an anchor by anchorName in the local store..

CheckConfiguration ( ) : bool

Ensures that the scene has what we need to continue.

ExportComplete ( SerializationCompletionReason status ) : void

Called when serializing an anchor is complete.

ImportComplete ( SerializationCompletionReason status, WorldAnchorTransferBatch wat ) : void

Called when a remote anchor has been deserialized

NetworkTransmitter_dataReadyEvent ( byte data ) : void

Called when anchor data is ready.

Start ( ) : void
Update ( ) : void
WriteBuffer ( byte data ) : void

Called as anchor data becomes available to export

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

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

If we are supposed to create the anchor for export, this is the function to call.
public CreateAnchor ( ) : void
Результат void

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

If we don't have the anchor already, call this to download the anchor.
public WaitForAnchor ( ) : void
Результат void