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
446 B
17 lines
446 B
using UnityEngine;
|
|
|
|
namespace Gamestrap
|
|
{
|
|
[CreateAssetMenu(fileName = "UI Shadow", menuName = "Gamestrap/Modifier/UI Effect/Shadow")]
|
|
public class ModifierUIShadow : ComponentModifier<ShadowEffect>
|
|
{
|
|
public Color color;
|
|
public Vector2 distance;
|
|
|
|
public override void Apply(ShadowEffect target)
|
|
{
|
|
target.effectColor = color;
|
|
target.effectDistance = distance;
|
|
}
|
|
}
|
|
}
|