x


hide part of an object

How can i hide a huge object in a little object bag for example so that i can hold it then drag it ? for example i have ahuge wep i want to put it in the bag then when i use i grap the weapon and apart of the wep is hidden which in the bag

more ▼

asked Jun 30 '12 at 08:44 AM

sameer gravatar image

sameer
16 3 10

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

Use gameObject.active = false or renderer.enabled = false;.

PS : You lost me after "hide part of an object".

more ▼

answered Jun 30 '12 at 03:40 PM

Berenger gravatar image

Berenger
11k 12 19 53

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x5089

asked: Jun 30 '12 at 08:44 AM

Seen: 250 times

Last Updated: Jun 30 '12 at 03:40 PM