// Update is called once per frame void Update() { if (leadNumberPut == leadNumberNeeded) { associateScript.ChangeElevatorStatutOn(); } }