soundvision/UnityProject/Assets/Scenes/Examples/MIDI/script/Mover.cs
Chikashi Miyama 8fae5f3707 implement #94
2019-10-30 18:45:05 +01:00

15 lines
221 B
C#

using UnityEngine;
namespace cylvester
{
public class Mover : MonoBehaviour
{
public void Move(int pos)
{
transform.position = new Vector3(pos - 8.0f, 0f, 0f);
}
}
}