FragMate CommunityLog in

FragMate - Software and Game Developer Community, including Resources, Forums, Marketplace & More.

Share

descriptionScript 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)."

descriptionRe: 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]


_________________
lol! <I am goku, check out this paper I put on my power pole, it says lol. Whats the foot thing, bulma? Did you step on my paper? wait is this food? Yucky it tastes like paper.
Permissions in this forum:
You cannot reply to topics in this forum