void Start() { getHealthScript = new health(); getHealthScript = GameObject.FindGameObjectWithTag("Scripts").GetComponent <health>(); shieldScript = new activeShield(); shieldScript = GameObject.FindGameObjectWithTag("Scripts").GetComponent <activeShield>(); }
void Start() { prePos = new Vector3(0, -2.11f, -13.7f); shieldScript = new activeShield(); shieldScript = GameObject.FindGameObjectWithTag("Scripts").GetComponent <activeShield>(); }