Exemplo n.º 1
0
    private void Awake()
    {
        Instance = this;

        reloadHUDScript = GetComponent<ReloadHUDScript>();
        velocityHUDScript = GetComponent<VelocityHUDScript>();
        shotEffectHUDScript = GetComponent<ShotEffectHUDScript>();
        timerHUDScript = GetComponent<TimerHUDScript>();
        crosshairHUDScript = GetComponent<CrosshairHUDScript>();
        skiEnabledHUDScript = GetComponent<SkiEnabledHUDScript>();
    }
Exemplo n.º 2
0
    private void Awake()
    {
        Instance = this;

        ammoSlots = new float[maxAmmo];
    }