Hello Everybody,
I want destroy a object but I get this error. How can i destroy this object?
Regards
Hello Everybody,
I want destroy a object but I get this error. How can i destroy this object?
Regards
I could be wrong, but judging by the error it sounds like you are trying to destroy the transform and not the whole game object?
Hello Bongo,
Thank you for reply but my object is not transform
I make a lot of control about that but my object is gameobject everytime.
Regards
…Not exactly sure…First … where you defined the gameobject target ? In the project inspector ? Or hierarchy inspector ?
If the script it`s more complex try posting it .