Unity Ninja Unity 3D Forum
To have exclusive access to all downloads, recourses and links within this forum, a free registered account is required. Just a heads up Wink
Share
Go down
Member [Lv. 1]
Member [Lv. 1]
Posts : 3
Points : 1197
Rep : 0
Join date : 2015-05-16
View user profile

Script Error

on Wed May 20, 2015 12:35 am
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)."
Member [Lv. 3]
Member [Lv. 3]
Posts : 17
Points : 1277
Rep : 0
Join date : 2015-04-07
View user profile

Re: Script Error

on Thu Jul 09, 2015 1:15 pm
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]

Back to top
Permissions in this forum:
You cannot reply to topics in this forum