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