// Start is called before the first frame update void Start() { destroyTime = 5f; projectileScriptv2 = GameObject.Find("Projectile Group").GetComponent <ProjectileScriptv2>(); gameControllerScript = GameObject.Find("GameControllerScript").GetComponent <GameControllerScript>(); spriteControlScript = GetComponent <SpriteControlScript>(); }
// Start is called before the first frame update void Start() { spriteControlScript = GameObject.Find("SpriteControlScript").GetComponent <SpriteControlScript>(); }