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.

OneManArmy

Dynamic crosshair script

Recommended Posts


Nice share :d The rotation feature really cool effect yet so simple :).

Thanks OMA

P.s 5 thanks but no one can post and say??

  • Like 1

Share this post


Link to post
Share on other sites

Thanks :)

Please login or register to see this quote.

And rotation could be also used for loading screen effect :)

Share this post


Link to post
Share on other sites

This is really awesome, but I've spent a couple hours trying to make it so that this script only activates when I'm holding a certain weapon, and have been unsuccessful. Is there an easy way to do this?

Share this post


Link to post
Share on other sites

hi guys

thanks a lot OneManArmy

Convert to C# Code :

Please login or register to see this code. Please login or register to see this code. Edited by kamiyar
  • Like 4

Share this post


Link to post
Share on other sites

Thank you for your effort. I ran in to an issue when tried to load the texture. Everything works fine but when I add my own texture and change the height and width the image duplicates. I get 2 vertical and 2 Horizontal image if I change Cwidtha nd C height. Anyone have a clue?, Highly appreciatable if you can help me to skip this stumble.

Share this post


Link to post
Share on other sites

hi all

 

Well done! :YMAPPLAUSE: :YMAPPLAUSE: :YMAPPLAUSE:

 

very very nice code [Dynamic Crosshair].

 

Thanks for the code.

Share this post


Link to post
Share on other sites

hey at all ! 

i'm using unity 5.2.2,  i've tried this c# script right now and wonder how you did it get to work. i've got 9 error warnings like: 

Unity Engine Rect doesnt contain a constructor that takes 6 arguments !  

No overload for method Box takes 1 argument and 5 arguments, and so on. and so on.

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
Reply to this topic...

×   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.


×
×
  • Create New...