예제 #1
0
        private void SyncDebuffRPC(int targetViewID, DebuffType debuffType, float duration)
        {
            var target = PhotonView.Find(targetViewID).gameObject.GetComponent <IOnDebuffed>();

            Assert.IsNotNull(target);

            var flow = new DebuffFlow(target, debuffType, duration);

            SkillStream.OnNextDebuff(flow);
        }
예제 #2
0
 public static void OnNextDebuff(DebuffFlow DebuffFlow)
 {
     _debuffSubject.OnNext(DebuffFlow);
 }