in Assets/BreakableAsteroids/Scripts/ExampleFracture.cs [11:24]
void Update()
{
//Code loops through asteroids and fractures them on space
if (Input.GetKeyDown(KeyCode.Space))
{
asteroids[counter].GetComponent<Fracture>().FractureObject();
counter++;
}
if (Input.GetKey(KeyCode.I))
{
chonker.gameObject.SetActive(true);
}
}