Files
2026-01-23 00:24:44 +00:00

34 lines
539 B
C#

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<CinemachineImpulseSource>();
}
source.GenerateImpulse();
}
void Update()
{
}
}
}