Example #1
0
    public void OnAnchorInstantiated(bool isHost)
    {
        if (AnchorAlreadyInstantiated)
        {
            return;
        }

        AnchorAlreadyInstantiated = true;
        UIController.OnAnchorInstantiated(isHost);
    }
Example #2
0
    /// <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);
    }