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

You are not connected. Please login or register

Unity Ninja Unity 3D Forum » General Dicussions » Script Error

Script Error

View previous topic View next topic Go down  Message [Page 1 of 1]

1 Script Error on Wed May 20, 2015 12:35 am

Rewarian


Member [Lv. 1]
Member [Lv. 1]
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)."

View user profile

2 Re: Script Error on Thu Jul 09, 2015 1:15 pm

Zachvlol


Member [Lv. 3]
Member [Lv. 3]
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]

View user profile

View previous topic View next topic Back to top  Message [Page 1 of 1]

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