public void SetValues(RootCharacterController c, WeaponClass w, int n) { weapon = w; controller = c; numb = n; activity = weapon.moveset [numb]; }
public void SetValues(RootCharacterController c, WeaponClass w, int n, int b, int e, SpFunctions s, HitController h) { bTime = b; eTime = e; controller = c; weapon = w; numb = n; activity = weapon.moveset [numb]; stats = controller.gameObject.GetComponent<Stats> (); sp = s; hitBox = h; }
public void SetValues(RootCharacterController c, WeaponClass w, int n, int cN1, int cN2, int b, int e, SpFunctions s, clavisher cl, Vector3 p) { bTime = b; eTime = e; controller = c; weapon = w; numb = n; clavNumb1 = cN1; clavNumb2 = cN2; activity = weapon.moveset [numb]; stats = controller.gameObject.GetComponent<Organism> (); sp = s; clav = cl; pos = new Vector3 (p.x, p.y, p.z); }
public void SetValues(RootCharacterController c, WeaponClass w, int n, int b, int cN, SpFunctions s, clavisher cl) { bTime = b; controller = c; weapon = w; numb = n; claveNumb = cN; activity = weapon.moveset [numb]; stats = controller.gameObject.GetComponent<Organism> (); stats.shield = this; sp = s; clav = cl; time = 0; rigid = controller.gameObject.GetComponent<Rigidbody2D>(); animNumb = 0; }