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; }
//тип 6 номер 2 public void Twodifferentweaponslock(TwoDifferentWeaponsLock t, Equipment e, WeaponClass w, RootCharacterController c, int n) { t.SetEquip (e); t.SetValues (c, w, n); t.Work (); }
//тип 6 номер 6 public void Shieldcontroller(ShieldController sh, RootCharacterController c, WeaponClass w, int n, int b,int cN, SpFunctions s, clavisher cl) { if (sh.stage == 0) sh.SetValues (c, w, n, b, cN, s, cl); sh.Work (); }
//тип 6 номер 5 public void Punchuntiltarget(PunchUntilTarget p, RootCharacterController c, WeaponClass w, int n, int b, int e, SpFunctions s, HitController h) { if (p.stage == 0) p.SetValues (c, w, n, b, e, s, h); p.Work (); }
//тип 6 номер 3 public void Holdandunleash(HoldAndUnleash hld, RootCharacterController c, WeaponClass w, int n, int b, int e, int cN, SpFunctions s, HitController h, clavisher cl) { if (hld.stage == 0) hld.SetValues (c, w, n, b, e,cN, s, h, cl); hld.Work (); }
//тип 6 номер 4 public void Aimingshoot(AimingShoot a, RootCharacterController c, WeaponClass w, int n, int cN1, int cN2, int b, int e, SpFunctions s, clavisher cl, Vector3 p) { if (a.stage == 0) a.SetValues (c,w,n,cN1,cN2,b,e,s,cl,p); a.Work (); }