void Awake() { // Get both of the components we need to do this this.raycaster = GetComponent <GraphicRaycaster>(); checkClickController = FindObjectOfType <CheckClickController>(); hackBattleData = FindObjectOfType <HackBattleData>(); }
private void Start() { circuitBackground = FindObjectOfType <CircuitBackground>(); checkClickController = FindObjectOfType <CheckClickController>(); }