Мой кусок кода :
public void OnPhotonSerializeView(PhotonStream stream, PhotonMessageInfo info)
{
if (stream.isWriting)
{
stream.sendNext(isMale);
}
else
{
isMale = (bool)stream.ReceiveNext();
}
}
Код ошибки :
'PhotonStream' does not contain a definition for 'isWriting' and no accessible extension method 'isWriting' accepting a first argument of type 'PhotonStream' could be found (are you missing a using directive or an assembly reference?)
'PhotonStream' does not contain a definition for 'sendNext' and no accessible extension method 'sendNext' accepting a first argument of type 'PhotonStream' could be found (are you missing a using directive or an assembly reference?)
Помогите пожалуйста решить, буду благодарен!