void Start() { setsonic = FindObjectOfType <setactive>(); bullscropt = FindObjectOfType <BulletShooting>(); playermov = FindObjectOfType <Playermovement>(); drawpowref = FindObjectOfType <bullettypes>(); expref = FindObjectOfType <exp>(); }
// Use this for initialization void Start() { levelcount = 0; bulexp.amountofloss = 10; ply = FindObjectOfType <Playermovement>(); bulforpow = FindObjectOfType <BulletShooting>(); bulexp = FindObjectOfType <forallbullets>(); bulexp.amountofloss = 10; }
void Start() { scriptref = this.gameObject.GetComponent <BulletShooting>(); scriptref2 = this.gameObject.GetComponent <bullettypes>(); scriptref2.enabled = false; cardSref = FindObjectOfType <cards>(); cardrep1 = FindObjectOfType <cards1>(); cardrep2 = FindObjectOfType <cards2>(); }
private void Start() { playerHitScanShooting = gameObject.GetComponent <PlayerHitScanShooting>(); bulletShooting = gameObject.GetComponent <BulletShooting>(); }