Beispiel #1
0
    void Start()
    {
        itemBar  = GetComponentInChildren <ItemBar>();
        animator = spearAquirePanel.GetComponent <Animator>();
        spearAquirePanel.SetActive(false);
        info = GetComponent <EquippedInfo>();
        cam  = Camera.main;

        objectivePointer.SetActive(false);
        vehiclePointer.SetActive(false);
        recallPrompt.SetActive(true);
        lastFrameTime = Time.time;
        throwingChargePanel.SetActive(false);
        crosshair.gameObject.SetActive(false);
    }
Beispiel #2
0
 void Start()
 {
     animator = GetComponent <Animator>();
     hudInfo  = FindObjectOfType <EquippedInfo>();
     hud      = FindObjectOfType <HUD>();
 }