15 lines
307 B
C#
15 lines
307 B
C#
|
|
using System;
|
||
|
|
using UnityEngine;
|
||
|
|
|
||
|
|
namespace UnityEditor.VFX
|
||
|
|
{
|
||
|
|
[VFXInfo(type = typeof(Gradient))]
|
||
|
|
class VFXSlotGradient : VFXSlot
|
||
|
|
{
|
||
|
|
public override VFXValue DefaultExpression(VFXValue.Mode mode)
|
||
|
|
{
|
||
|
|
return new VFXValue<Gradient>(new Gradient(), mode);
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|