// Start is called before the first frame update void Start() { PinController = GetComponentInChildren <CheckPins>(); resettime = time; }
// Start is called before the first frame update void Start() { PinController = GameObject.FindGameObjectWithTag("PinController").GetComponent <CheckPins>(); resettime = time; }