コード例 #1
0
    public void SetupPlayArea()
    {
        AbstractPlayArea playArea = SpawnNewPlayArea();

        if (IS_NOT_NULL(playArea))
        {
            playArea.Owner = BEventManager.Instance.LocalNetworkID;
            playArea.SetUpPlayArea();
        }
    }
コード例 #2
0
    private void On_AR_NewPlayAreaSet(BEHandle <BAnchorInformation[]> handle)
    {
        if (handle.InvokingNetworkID != BEventManager.Instance.LocalNetworkID)
        {
            AbstractPlayArea playArea = SpawnNewPlayArea();
            playArea.Owner = handle.InvokingNetworkID;

            if (IS_NOT_NULL(playArea))
            {
                playArea.SetUpPlayArea(handle.Arg1);
            }
        }
    }