private void Start() { cic = GameObject.FindGameObjectWithTag("CIC").GetComponent <CIC>(); weaponUI[0].SetActive(true); shipWeapon = cic.activeCICWeapon; }
private void OnEnable() { // Input actions setup actions = new Actions(); actions.Enable(); canShoot = true; cic = GameObject.FindGameObjectWithTag("CIC").GetComponent <CIC>(); ship = GameObject.FindGameObjectWithTag("Player").GetComponent <Ship>(); }
private void Start() { _cic = GetComponentInChildren <CIC>(); //#if UNITY_ANDROID // Cursor.visible = true; //#else // Cursor.visible = false; //#endif }