You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

21 lines
441 B

using Entitas;
using Entitas.CodeGeneration.Attributes;
using UnityEngine;
namespace CoreGame.Render
{
[Combat, Unique]
public class CameraShakeComponent : IComponent, IReset
{
public float duration;
public string path;
internal Vector3 offset;
internal float timeAcc;
public void Reset()
{
offset = Vector3.zero;
timeAcc = 0;
}
}
}