GotNoPockets / MayhemJamGameThingy / Assets / Scripts / NoteDoorsScript.cs
NoteDoorsScript.cs
Raw
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public enum Locations
{
	YellowLeft,
	YellowMiddle,
	YellowRight,
	PinkLeft,
	PinkMiddle,
	PinkRight,
	GreenLeft,
	GreenMiddle,
	GreenRight,
};

public class NoteDoorsScript : MonoBehaviour
{
	public Locations ActiveDoor;

	public List<GameObject> Doors = new List<GameObject>(9);

	public GameObject CorrectYellowDoor;
	public GameObject CorrectPinkDoor;
	public GameObject CorrectGreenDoor;


    void Awake()
    {
		CorrectYellowDoor = Doors[Random.Range(0, 3)];
		CorrectPinkDoor = Doors[Random.Range(3, 6)];
		CorrectGreenDoor = Doors[Random.Range(6, 9)];
    }


    void Update()
    {
		 
    }
}