void Awake() { if (instance == null) { instance = this; } }
void Start() { if (instance == null) { instance = this; } green = new Color(32, 132, 0, 255); red = new Color(200, 40, 0, 255); animatorBoard = GetComponent <Animator>(); animatorRecord = record.GetComponent <Animator>(); }