internal override void Start() { base.Start(); inputManager = GetComponent <InputManager>(); kartShoot = GetComponent <KartShoot>(); originalShootCooldown = kartShoot.shootCooldownTime; }
internal override void Start() { base.Start(); inputManager = GetComponent<InputManager>(); kartShoot = GetComponent<KartShoot>(); originalShootCooldown = kartShoot.shootCooldownTime; }
void Start() { kartGun = GetComponent<KartGun>(); kartShoot = GetComponent<KartShoot>(); navMeshAgent = GetComponent<NavMeshAgent>(); if (Network.isServer) { minionCoroutine = MinionLogic(); StartCoroutine(minionCoroutine); } }
void Start() { kartGun = GetComponent <KartGun>(); kartShoot = GetComponent <KartShoot>(); navMeshAgent = GetComponent <NavMeshAgent>(); if (Network.isServer) { minionCoroutine = MinionLogic(); StartCoroutine(minionCoroutine); } }
void Start() { allowInput = true; allowShoot = true; allowDriving = true; allowAiming = true; allowSkillUsage = true; skillChanneling = false; skillAiming = false; kartController = GetComponent <KartController>(); kartShoot = GetComponent <KartShoot>(); kartGun = GetComponent <KartGun>(); kartCamera = GetComponent <KartCamera>(); pauseMenu = FindObjectOfType <UIPauseMenu>(); playerCamera = kartCamera.GetCamera(); }
void Start() { allowInput = true; allowShoot = true; allowDriving = true; allowAiming = true; allowSkillUsage = true; skillChanneling = false; skillAiming = false; kartController = GetComponent<KartController>(); kartShoot = GetComponent<KartShoot>(); kartGun = GetComponent<KartGun>(); kartCamera = GetComponent<KartCamera>(); pauseMenu = FindObjectOfType<UIPauseMenu>(); playerCamera = kartCamera.GetCamera(); }