Пример #1
0
 // Start is called before the first frame update
 void Start()
 {
     wp          = GameObject.FindGameObjectWithTag("Weaponspanel").GetComponent <Weaponspanel>();
     damageCalc  = gameObject.GetComponent <damageCalculate>();
     axAnimatior = GameObject.FindGameObjectWithTag("Ax").GetComponent <Animator>();
     ax.gameObject.GetComponent <MeshRenderer>().enabled = false;
 }
Пример #2
0
 // Start is called before the first frame update
 void Start()
 {
     checkpointText.text    = "Checkpoint saved";
     checkpointText.enabled = false;
     CPoints = new List <Transform>();
     CPC     = GameObject.FindGameObjectWithTag("collectablesPanel").GetComponent <collectablesPanelController>();
     wp      = GameObject.FindGameObjectWithTag("Weaponspanel").GetComponent <Weaponspanel>();
 }
Пример #3
0
 // Start is called before the first frame update
 void Start()
 {
     cameras[1].GetComponent <Camera>().enabled        = false;
     cameras[1].GetComponent <AudioListener>().enabled = false;
     CPC             = GameObject.FindGameObjectWithTag("collectablesPanel").GetComponent <collectablesPanelController>();
     temp            = switichingTime;
     timingText.text = "BirdEye Timer : " + Mathf.Abs(temp).ToString("F1");
     wp = GameObject.FindGameObjectWithTag("Weaponspanel").GetComponent <Weaponspanel>();
 }
Пример #4
0
 void Start()
 {
     anim = GetComponent <Animator>();
     CPC  = GameObject.FindGameObjectWithTag("collectablesPanel").GetComponent <collectablesPanelController>();
     wp   = GameObject.FindGameObjectWithTag("Weaponspanel").GetComponent <Weaponspanel>();
 }
Пример #5
0
 private void Start()
 {
     CPC = GameObject.FindGameObjectWithTag("collectablesPanel").GetComponent <collectablesPanelController>();
     wp  = GameObject.FindGameObjectWithTag("Weaponspanel").GetComponent <Weaponspanel>();
 }
Пример #6
0
    // Start is called before the first frame update
    void Start()
    {
        wp = GameObject.FindGameObjectWithTag("Weaponspanel").GetComponent <Weaponspanel>();

        player = this.transform.parent.gameObject;
    }
Пример #7
0
 void Start()
 {
     muzzle.gameObject.SetActive(false);
     wp = GameObject.FindGameObjectWithTag("Weaponspanel").GetComponent <Weaponspanel>();
 }
Пример #8
0
 private void Start()
 {
     DC  = GameObject.FindGameObjectWithTag("Player").GetComponent <damageCalculate>();
     CPC = GameObject.FindGameObjectWithTag("collectablesPanel").GetComponent <collectablesPanelController>();
     wp  = GameObject.FindGameObjectWithTag("Weaponspanel").GetComponent <Weaponspanel>();
 }