Exemplo n.º 1
0
    // calls OnPhotonSerializeView (through ExecuteOnSerialize)
    // the content created here is consumed by receivers in: ReadOnSerialize
    internal bool OnSerializeReliableWrite(PhotonView view, bool isIntialization)
    {
        PhotonMessageInfo info = new PhotonMessageInfo( this.mLocalActor, this.ServerTimeInMilliSeconds, view );

        view.SerializeReliable(info, isIntialization);

        return true;
    }