Ejemplo n.º 1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="binaryReader"></param>
        public void OnMessageEventPush(BinaryReader binaryReader)
        {
            var screenKun = new ScreenKun();

            screenKun.Deserialize(binaryReader);
            screenKun.WriteBack();
        }
Ejemplo n.º 2
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="binaryReader"></param>
        public void OnMessageEventPull(BinaryReader binaryReader)
        {
            var screenKun = new ScreenKun(true);

            UnityChoseKunPlayer.SendMessage <ScreenKun>(UnityChoseKun.MessageID.ScreenPull, screenKun);
        }