public void OnAnchorInstantiated(bool isHost) { if (AnchorAlreadyInstantiated) { return; } AnchorAlreadyInstantiated = true; UIController.OnAnchorInstantiated(isHost); }
/// <summary> /// Callback indicating that the Cloud Anchor was instantiated and the host request was /// made. /// </summary> /// <param name="isHost">Indicates whether this player is the host.</param> public void OnAnchorInstantiated(bool isHost) { if (m_AnchorAlreadyInstantiated) { return; } m_AnchorAlreadyInstantiated = true; networkManagerUIController.OnAnchorInstantiated(isHost); }