示例#1
0
        private void Start()
        {
            cic = GameObject.FindGameObjectWithTag("CIC").GetComponent <CIC>();

            weaponUI[0].SetActive(true);
            shipWeapon = cic.activeCICWeapon;
        }
示例#2
0
 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>();
 }
示例#3
0
        private void Start()
        {
            _cic = GetComponentInChildren <CIC>();

            //#if UNITY_ANDROID
            //            Cursor.visible = true;
            //#else
            //            Cursor.visible = false;
            //#endif
        }