FiE-Game/Assets/TrailEffect/Effects/Trails/SmokeTrailPoint.cs
2023-07-26 16:38:51 +05:00

16 lines
291 B
C#

using System;
using UnityEngine;
namespace PigeonCoopToolkit.Effects.Trails
{
public class SmokeTrailPoint : PCTrailPoint
{
public Vector3 RandomVec;
public override void Update(float deltaTime)
{
base.Update(deltaTime);
this.Position += this.RandomVec * deltaTime;
}
}
}