Exemple #1
0
        /// <summary>
        /// 填充 PhotonEvent 事件。
        /// </summary>
        /// <param name="e">内部事件。</param>
        /// <returns>PhotonEvent 事件。</returns>
        public PhotonEventEventArgs Fill(GameFramework.Photon.PhotonEventEventArgs e)
        {
            PhotonChannel = e.PhotonChannel;
            EventData     = e.EventData;

            return(this);
        }
Exemple #2
0
 private void OnPhotonEvent(object sender, GameFramework.Photon.PhotonEventEventArgs e)
 {
     m_EventComponent.Fire(this, ReferencePool.Acquire <PhotonEventEventArgs>().Fill(e));
 }