Initial Commit
This commit is contained in:
commit
ee5c2f922d
2255 changed files with 547750 additions and 0 deletions
17
Assets/Scripts/Data/Actor/ActorDeathAnimationData.cs
Normal file
17
Assets/Scripts/Data/Actor/ActorDeathAnimationData.cs
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
using Unity.Entities;
|
||||
|
||||
namespace DefaultNamespace
|
||||
{
|
||||
/// <summary>
|
||||
/// Used to keep GO for some time to do fancy animations.
|
||||
/// If this component is not present the GO is destroyed instantly.
|
||||
/// </summary>
|
||||
[GenerateAuthoringComponent]
|
||||
public struct ActorDeathAnimationData : IComponentData
|
||||
{
|
||||
/// <summary>
|
||||
/// The amount of time in seconds the GO should remain.
|
||||
/// </summary>
|
||||
public float Time;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue