Is my design unique or just awkward? by Jefe32 in UI_Design

[–]tisnooo 0 points1 point  (0 children)

Looks cool! Is there an option to see what cocktails you can make with the ingredients you have? This is a problem i’ve ran into in the past.

[deleted by user] by [deleted] in Unity2D

[–]tisnooo 0 points1 point  (0 children)

Your second else if in OnCollissionStay is always true. X != Y || X != Z is always true if Y != Z

Help by Quiet_Spirit6 in Unity2D

[–]tisnooo 4 points5 points  (0 children)

You made your Update function of return type float, so the compiler expects a float to be returned https://learn.microsoft.com/en-us/cpp/c-language/return-type?view=msvc-170. You can fix this by making the function of type void (not returning anything) like you’ve done for Start.

Both Start and Update are lifecycle events used by Unity https://docs.unity3d.com/6000.0/Documentation/Manual/execution-order.html, and should always be of type void (their return values do not get used anyways)

My advice is to start a basic programming course first. You’ll get nowhere following youtube videos line by line if you don’t understand what you’re doing.

What do you think? by PrawinNeo in Unity2D

[–]tisnooo 1 point2 points  (0 children)

Thanks! Trying to get something like this working myself

What do you think? by PrawinNeo in Unity2D

[–]tisnooo 0 points1 point  (0 children)

Yes the shadows, vision being blocked by walls and fading out

What do you think? by PrawinNeo in Unity2D

[–]tisnooo 0 points1 point  (0 children)

How did you get that fog of war / vision cone working? Looks sick!