Skip to content
Snippets Groups Projects
Commit b877f48d authored by Leevi Grönlund's avatar Leevi Grönlund
Browse files

Changed Outcrop object existence to invisible instead of destroying

parent 43fb2cbf
No related branches found
No related tags found
No related merge requests found
......@@ -37,7 +37,7 @@ public class Outcrop : MonoBehaviour
{
GameObject go = Instantiate<GameObject>(quarry);
go.transform.position = this.transform.position;
Destroy(gameObject);
gameObject.SetActive(false);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment