Exemplo n.º 1
0
    internal override void Start()
    {
        base.Start();

        inputManager          = GetComponent <InputManager>();
        kartShoot             = GetComponent <KartShoot>();
        originalShootCooldown = kartShoot.shootCooldownTime;
    }
Exemplo n.º 2
0
    internal override void Start()
    {
        base.Start();

        inputManager = GetComponent<InputManager>();
        kartShoot = GetComponent<KartShoot>();
        originalShootCooldown = kartShoot.shootCooldownTime;
    }
Exemplo n.º 3
0
    void Start()
    {
        kartGun = GetComponent<KartGun>();
        kartShoot = GetComponent<KartShoot>();
        navMeshAgent = GetComponent<NavMeshAgent>();

        if (Network.isServer)
        {
            minionCoroutine = MinionLogic();
            StartCoroutine(minionCoroutine);
        }
    }
Exemplo n.º 4
0
    void Start()
    {
        kartGun      = GetComponent <KartGun>();
        kartShoot    = GetComponent <KartShoot>();
        navMeshAgent = GetComponent <NavMeshAgent>();

        if (Network.isServer)
        {
            minionCoroutine = MinionLogic();
            StartCoroutine(minionCoroutine);
        }
    }
Exemplo n.º 5
0
    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();
    }
Exemplo n.º 6
0
    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();
    }