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.
17 lines
578 B
17 lines
578 B
using UnityEngine;
|
|
|
|
namespace UnityEditor.VFX
|
|
{
|
|
[VFXHelpURL("Block-ConstantRate")]
|
|
[VFXInfo(name = "Constant Spawn Rate", category = "Spawn")]
|
|
class VFXSpawnerConstantRate : VFXAbstractSpawner
|
|
{
|
|
public override string name { get { return "Constant Spawn Rate"; } }
|
|
public override VFXTaskType spawnerType { get { return VFXTaskType.ConstantRateSpawner; } }
|
|
public class InputProperties
|
|
{
|
|
[Min(0), Tooltip("Sets the number of particles to be spawned per second.")]
|
|
public float Rate = 10;
|
|
}
|
|
}
|
|
}
|