void Start() { camera = GameObject.FindGameObjectWithTag("camera").GetComponent <CameraFollowScript>(); OSES = camera.GetComponent <onScreenElementsScript>(); //player = GameObject.FindGameObjectWithTag ("player"); currentXP = 0; baseXPMax = 100; // SETTING TANKS DAMAGE ABILITIES setAbilityOneDamage(); setabilityTwoDamage(); setabilityThreeDamage(); }
void Start() { camera = GameObject.FindGameObjectWithTag("camera").GetComponent <CameraFollowScript>(); OSES = camera.GetComponent <onScreenElementsScript>(); // SETTING DAMAGE OF ARCHERS ABILITIES // METHODS TAKEN FROM ARCHER-CHARACTER-SCRIPT setFireShotDamage(); setPiercingDamage(); setHOADamage(); //player = GameObject.Find("player"); currentXP = 0; baseXPMax = 100; }
// Use this for initialization void Start() { OSES = camera.GetComponent <onScreenElementsScript> (); archerAnimations = GetComponent <Animator> (); }