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.
22 lines
453 B
22 lines
453 B
using Entitas;
|
|
using UnityEngine;
|
|
|
|
namespace CoreGame.Render
|
|
{
|
|
[Combat]
|
|
public class DoDropComponent : IComponent, IReset
|
|
{
|
|
public float duration;
|
|
public Vector2 targetPos;
|
|
public Vector2 startPos;
|
|
public Vector2 bezierCtrl1;
|
|
public float targetScale;
|
|
public float startScale;
|
|
internal float accTime;
|
|
|
|
public void Reset()
|
|
{
|
|
accTime = 0;
|
|
}
|
|
}
|
|
}
|