UnityNinja Community
Would you like to react to this message? Create an account in a few clicks or log in to continue.

UnityNinja CommunityLog in

UnityNinja - Video Game Development Community, including Resources, Forums, Marketplace & More.


descriptionScript Error EmptyScript Error

more_horiz
I made a script of vanishing the token in games and it is showing error "No appropriate version found of (UnityEngine.Object.Destroy) found for argument list (System.Type)."

descriptionScript Error EmptyRe: Script Error

more_horiz
Rewarian wrote:
I made a script of vanishing the token in games and it is showing error "No appropriate version found of (UnityEngine.Object.Destroy) found for argument list (System.Type)."


You can turn off the rendering of a GameObject by disabling its MeshRenderer component, e.g.

[script] GetComponent(MeshRenderer).enabled = false; [/script]

privacy_tip Permissions in this forum:
You cannot reply to topics in this forum
power_settings_newLogin to reply