IPunObservable ์ด์šฉํ•ด์„œ

ย  ย  public virtual void OnPhotonSerializeView(PhotonStream stream, PhotonMessageInfo info)

ย  ย  {

ย  ย  ย  ย  if (stream.IsWriting)

ย  ย  ย  ย  {

ย  ย  ย  ย  ย  ย  stream.SendNext(list);

ย  ย  ย  ย  }

ย  ย  ย  ย  else

ย  ย  ย  ย  {

ย  ย  ย  ย  ย  ย  listย = (List<Item>)stream.ReceiveNext();

ย  ย  ย  ย  }

ย  ย  }


์ด๋ ‡๊ฒŒ ์ผ๋Š”๋ฐย 


Exception: Write failed. Custom type not found: System.Collections.Generic.List`1[Item]

์ด๋ž˜ ์—๋Ÿฌ๋œธ... ์  ์žฅ ์ด๊ฑฐ List๋Š” ๋ชป ๋„˜๊ธฐ๋Š” ๊ฒƒ ๊ฐ™์€๋ฐ ๋™์  ํ• ๋‹น์ด ๊ฐ€๋Šฅํ•œ ๋ฐฐ์—ด์„ ์ „๋‹ฌํ•˜๊ณ  ์‹ถ๋‹จ ๋ง์ด์ง€;


๋ฐฉ๋ฒ• ์—†์„๊นŒ?