void EndZoom() { desc = null; origin = null; if (m_cameraFollow != null) { m_cameraFollow.m_cameraZoom = false; } isZoomEnd = false; }
void EndBlur() { desc = null; isBlurEnd = false; setBlur = false; if (camTransform != null) { var blur = camTransform.GetComponent <DeemoRadialBlur>(); if (blur != null) { blur.enabled = false; } } }
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; }