FiE-Game/Assets/TrailEffect/Effects/Trails/SmokeTrailPoint.cs

17 lines
291 B
C#
Raw Normal View History

2023-07-26 13:38:51 +02:00
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;
}
}
}