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
430 B
17 lines
430 B
using UnityEngine;
|
|
|
|
namespace Gamestrap
|
|
{
|
|
[CreateAssetMenu(fileName = "UI Gradient", menuName = "Gamestrap/Modifier/UI Effect/Gradient")]
|
|
public class ModifierUIGradient : ComponentModifier<GradientEffect>
|
|
{
|
|
public Color top;
|
|
public Color bottom;
|
|
|
|
public override void Apply(GradientEffect target)
|
|
{
|
|
target.top = top;
|
|
target.bottom = bottom;
|
|
}
|
|
}
|
|
}
|