Files
MetalGear2D.Unity/Assets/Scripts/WaveClamp.cs
T

25 lines
366 B
C#
Raw Normal View History

2025-05-13 05:19:58 +03:00
using UnityEngine;
using System.Collections;
public class WaveClamp : WaveController {
public WaveController wave;
public float min = 0;
public float max = 1;
public override float Get ()
{
return Mathf.Clamp(wave.Get(), min, max);
}
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
}