using System; using UnityEngine; public class KeyIDManager : MonoBehaviour { public int KeyID; void Start() { System.Random KeyID = new System.Random(); KeyID.Next(0,9); } // Update is called once per frame void Update() { } }