- Home /
problem in working with project
Assets/Scripts/Collisions.js(7,24): BCE0023: No appropriate version of 'UnityEngine.Object.Destroy' for the argument list '(boolean)' was found.
wat to do plz help i am stucked up with this :(
Comment
Destroy takes only objects, bool or any expression that returns bool is not an obejct..
post your code with the problem
Exactly. Bool/boolean is a true or false value, which cannot be destroyed.
Ditto flamy and Bruflot. Could you post the code you're using to destroy with?
Your answer
Follow this Question
Related Questions
Access components in ALL children 1 Answer
Android Building problem 1 Answer
Problems with creating custom EditorGUI for script 0 Answers
Script is not working at all 2 Answers
The name 'Joystick' does not denote a valid type ('not found') 2 Answers