A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate in the Unity community.
Separate names with a comma.
Please use the code tags when posting code: https://forum.unity.com/threads/using-code-tags-properly.143875/ This should point you in the right...
No problem! The 2 issues are caused by the same thing. You need to change: [SerializeField] private AudioClip audioClips; to: [SerializeField]...
I've also just noticed in AudioManagerTest class you're trying to pass a list of audio sources to the PlayMusicWithFade method. This won't work as...
You need to declare the activeSource variable before the for loop, it's the first line in the code on my last post. The code handles getting the...
I'm not sure what advantage manually managing multiple sources is giving you over having a single source but something like the below should work....
Interesting, I didn't know that. I come from a more data-driven software background so have always found the SQL query-like syntax easier to read....
Where's the fun in that? ;)
Using Linq you can do the following: CustomClass foundItem = (from item in customClassList where item.customEnum == CustomEnum.SomeValue select...
[MEDIA] This gets the idea across better than I can put it!
Yeah, this is basically the way the ruletiles in 2d extras handle it. You get a nice UI to define set of rules, each rule lets you set which tile...
If you're using the built-in tilemaps you may want to have a look at RuleTiles from Unity's 2D extras:...
An alternative approach to the above I use often is to make use of scriptable objects. I'd have a base class such as: using UnityEngine; public...
How is your enemy gameobject set up? Are both the trigger colliders on the 1 parent gameobject or are they each on separate child gameobjects?
Hi Svyathor, you need to compare your variables against the collision: if (collision == TopLef) and if (collision == TopRig)