コード例 #1
0
ファイル: Interactable.cs プロジェクト: lkottler/gamerclub
    private void OnTriggerEnter(Collider other)
    {
        PhotonView pv = other.GetComponent <PhotonView>();

        if (pv != null && pv.IsMine)
        {
            tag = TextTag.createTag(this.transform, "sample text");
            Debug.Log("player can pickup item");
        }
    }