12345678910111213141516171819202122232425262728293031 |
- using rtc;
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- using XRTool.Util;
- namespace ShadowStudio.Model
- {
- public class Peer
- {
- private string peerId;
- private string nickName;
- private bool isOther;
- private CustomPeer customPeer;
- public string PeerId { get => peerId; set => peerId = value; }
- public string NickName { get => nickName; set => nickName = value; }
- public bool IsOther { get => isOther; set => isOther = value; }
- public CustomPeer CustomPeer { get => customPeer; set => customPeer = value; }
- public bool IsSlef
- {
- get
- {
- return UserInfo.Account == PeerId;
- }
- }
- }
- }
|