soundvision/UnityProject/Assets/Scripts/PdConnection/Sequencer.cs

17 lines
322 B
C#
Raw Normal View History

2019-10-30 14:01:06 +00:00
using System;
using UnityEngine;
namespace cylvester
{
public class Sequencer : MonoBehaviour
{
[SerializeField] private bool[] sequence = new bool[16];
private void OnValidate()
{
if(sequence.Length != 16)
Array.Resize(ref sequence, 16);
}
}
}