Example #1
0
    void Start()
    {
        //Gun setup
        triggerDelayReset = triggerDelay;
        bulletsReset      = bullets;

        rotation = GetComponent <GunRotation>();

        uiComponent = GameObject.Find("UiManger").GetComponent <UiGun>();
        hands       = GameObject.Find("hands");
    }
Example #2
0
    void Start()
    {
        uiComponent = GameObject.Find("UiManger").GetComponent <UiGun>();

        initialLightIntensity = light.intensity;
    }