Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Whatever
prefab not destroying
user18662
Programming language:
Whatever
2021-06-01 18:06:06
0
Q:
prefab not destroying
Bonnie Kang
Code:
Whatever
2021-06-26 15:04:38
public void OnCollisionEnter(Collision nameOfObject) { Destroy(nameOfObject.gameObject); }
0
Related
ionic prevent Alert from closing if condition is not satisfied
An operation is not implemented: Not yet implemented
unable to preventdefault inside passive event listener
Bad state: Unexpected diagnostics:
preloader not fading out
Terminating app due to uncaught exception 'RLMException', reason: 'Object has been deleted or invalidated.'
New to Communities?
Join the community