Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Calm530

Pages: [1]
1
General / Need help with button class [Solved]
« on: November 21, 2016, 05:28:09 pm »
So, I have a problem with my button class. I know how to make a button in main but I want to make a button "Prefab", so I can easily make several buttons with different sprites.

the first part of code (the code I have in main) works fine, the class doesn't, it doesn't register me even hovering over.

code:  http://pastebin.com/sswTTn7k

Gif of problem: https://gyazo.com/51087ff491395fc2aa0d1412063da9db

Pages: [1]
anything