using System.Collections; using System.Collections.Generic; using UnityEngine; using Cinemachine; namespace MirzaBeig.CinematicExplosionsFree { public class CustomImpulse : MonoBehaviour { CinemachineImpulseSource source; void Start() { } void OnEnable() { if (!source) { source = GetComponent(); } source.GenerateImpulse(); } void Update() { } } }