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.
15 lines
404 B
15 lines
404 B
using UnityEngine;
|
|
|
|
namespace Gamestrap
|
|
{
|
|
[CreateAssetMenu(fileName = "UI Perspective", menuName = "Gamestrap/Modifier/UI Effect/Perspective")]
|
|
public class ModifierUIPerspective : ComponentModifier<PerspectiveEffect>
|
|
{
|
|
public float perspective;
|
|
|
|
public override void Apply(PerspectiveEffect target)
|
|
{
|
|
target.perspective = perspective;
|
|
}
|
|
}
|
|
}
|