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.

nightbird0

Inventory System C#

Recommended Posts

Hi guys here is my inventory system written in C# and it comes with a simple GUI Skin with extra button skins

 

Inventory script

Please login or register to see this spoiler.

 

Download the GUI.rar for the skin ;) hope you like it

Please login or register to see this link.

Edited by nightbird0
  • Like 10

Share this post


Link to post
Share on other sites
Please login or register to see this quote.

me either , its actually from this forum a topic called "FPS KIT" that have many weapons there

Share this post


Link to post
Share on other sites
Please login or register to see this quote.

did you notice that the topic is about the inventory system :P , the weapon it just a placeholder

Share this post


Link to post
Share on other sites
Please login or register to see this quote.

Bug fix error : can't add  script behaviour  The script  file name  does  no match  the name ok the class  defined  in the script

  • Like 1

Share this post


Link to post
Share on other sites

it looks interesting. Your MG is very... impressive :)

Share this post


Link to post
Share on other sites

I know its about the inventory system but it isn't too hard to lower the weapon to a reasonable height :P

Share this post


Link to post
Share on other sites

hehe i will totally change it , it's just a placeholder , i made the anims in 10 minutes and i really DON'T LIKE THEM :P 

Share this post


Link to post
Share on other sites
Please login or register to see this quote.

Make sure that the name of the script is EXACT as in the script when you open

Share this post


Link to post
Share on other sites

Hey, I made my own simple inventory script in JS but this is much better, is there anyway you can convert this into JS?

 

That would be simply amazing...

 

:d

Share this post


Link to post
Share on other sites

Ah, doesn't work.

 

It doesn't pick the assigned item up...and other things..

Share this post


Link to post
Share on other sites

but whats the reason of picking up items without using them?For example if i  add a paper note in the inventrory the player wont be able to read it again...

Share this post


Link to post
Share on other sites
Please login or register to see this quote.

there is a void that use them ;) but it's empty so you will decide how to use them look 

Please login or register to see this code.

so just do something like this

Please login or register to see this code.

Share this post


Link to post
Share on other sites
Please login or register to see this quote.

so me your error console. .. btw did you follow the video ? it's so simple

Share this post


Link to post
Share on other sites
Please login or register to see this quote.

i tried to active other scipt if the slot=paper but its not working(i am newbie so i may do many wrongs Please login or register to see this link.  )

Share this post


Link to post
Share on other sites

Doesn't work for me for some reason! I copy and pasted the scripts into 2 different C# Scripts and apply them to my player and a cube but I can't show the menu and I can't change the item properties.

Share this post


Link to post
Share on other sites

just for anyone looking for a JavaScript conversion, here's one (Don't ask why I did it :P)

Inventory.js

Please login or register to see this spoiler. Edited by lcomstive
  • Like 2

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×