Jump to content
This site uses cookies! Learn More

This site uses cookies!

armedunity.com uses cookies to improve user experience.

By continuing to use this site, you agree to allow us to store cookies on your computer.

  • 0
Sign in to follow this  
ProExtremePL

Object painter issue

Question

Hi guys,
I've made script for custom object painting and of course I had to create empty script just with class and monobehaviour to be able to paint. But when I choose in hierarchy object that has this script I can't use camera :/ It can't move in any direction, can rotate, but can't move forward, up, down etc. But when I click on object that doesnt have this script (or just air) everything is okay.

 

Any solutions?

 

P.S
Is it possible to make custom objects painting window without needing object with that empty script?
Because if I choose object that has that script I'm able to paint on another ones that doesnt have that script...

Thanks for all help!

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 0

So basically to repair that I just need to put

 

Please login or register to see this code.

 

to Awake function...

Share this post


Link to post
Share on other sites

  • 0
Please login or register to see this quote.

What do you mean by this? In theory, if you only change the color of an object in your script, it shouldn't affect the movement in any ways.

Share this post


Link to post
Share on other sites
  • 0

Okay... Localized where's problem.

 

When I claim this I can move my camera... :/

 

Please login or register to see this code.

 

Edited by ProExtremePL

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...