Example #1
0
        private void SyncStatusRPC(int targetViewID, int fixAtk)
        {
            var target = PhotonView.Find(targetViewID).gameObject.GetComponent <IStatus>();

            Assert.IsNotNull(target);

            var flowEntity = new StatusFlowEntity(target, fixAtk);

            SkillStream.OnNextStatus(flowEntity);
        }
Example #2
0
 public static void OnNextStatus(StatusFlowEntity statusFlowEntity)
 {
     _statusSubject.OnNext(statusFlowEntity);
 }