void Start() { setsonic = FindObjectOfType <setactive>(); bullscropt = FindObjectOfType <BulletShooting>(); playermov = FindObjectOfType <Playermovement>(); drawpowref = FindObjectOfType <bullettypes>(); expref = FindObjectOfType <exp>(); }
void Start() { scriptref = this.gameObject.GetComponent <BulletShooting>(); scriptref2 = this.gameObject.GetComponent <bullettypes>(); scriptref2.enabled = false; cardSref = FindObjectOfType <cards>(); cardrep1 = FindObjectOfType <cards1>(); cardrep2 = FindObjectOfType <cards2>(); }