Esempio n. 1
0
 void EndZoom()
 {
     desc   = null;
     origin = null;
     if (m_cameraFollow != null)
     {
         m_cameraFollow.m_cameraZoom = false;
     }
     isZoomEnd = false;
 }
Esempio n. 2
0
 void EndBlur()
 {
     desc      = null;
     isBlurEnd = false;
     setBlur   = false;
     if (camTransform != null)
     {
         var blur = camTransform.GetComponent <DeemoRadialBlur>();
         if (blur != null)
         {
             blur.enabled = false;
         }
     }
 }
Esempio n. 3
0
        public override void Init(ISkillCellData cellData, SkillBase skillBase)
        {
            if (skillBase == null)
            {
                return;
            }
            bool can = skillBase.m_actor.IsMainPlayer() || skillBase.m_actor.mActorType == ActorType.AT_BOSS;

            if (!can)
            {
                return;
            }

            desc = cellData as CameraZoomCellDesc;
            if (desc == null)
            {
                return;
            }

            beginTime = Time.time;
            isBlurEnd = false;
            setBlur   = false;
            isZoomEnd = false;
        }