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.
i am a "crew member" at dunkin' donuts. mainly i work the register and prepare coffees. this job gets you free coffees so it is perfect for a...
i've handled school and working on my game before, but i just got a part time job (which i love!). i have less time to work on my game now, and...
you might want a trigger that sticks out into 3d space for that, i guess. you have to experiment until it looks right. this is the problem with...
well first you'd have to animate the climb action. pressing a certain key over a trigger area at the base of the ladder could start the...
aha, a fellow D&D-inspired username haver! have you looked at these? https://unity3d.com/learn/tutorials/s/user-interface-ui i'm also at the...
what's an event aggregator?
i've used interfaces provided by unity but never written any of my own. are you saying i should use an interface instead of an event? not...
void Attack(GameObject enemy1) // again, this just refers to one enemy. need to fix! { if (enemy_clicked == true)...
so i finished most of my inventory, not including crafting or randomized loot drops. for my next step i want to work on the actual meat of the...
if i wanted to add a script called "script1" to an object "object1" at run time, what would that look like in code? using this page from the...
i'd have to rewrite my whole inventory system otherwise. but only some of the objects are to be created programmatically, so this ought to work.
so there is definitely no way to create and instantiate scriptable objects at run time? if i only had one type of weapon, it wouldn't be so bad,...
okay, got it working! EDIT: @Fido789 thanks, will remember that
EDIT2: okay, it's partly fixed after i changed it to reflect having only one set of 5 tabs that i just enable or disable. i updated the code....
ah, thanks guys! that's the solution i was hoping for. otherwise, i was going to do something that would require writing a lot of code as well...
edit2: so i guess to narrow it down, my question is, how can i do a sprite swap in code? i guess i could use an interface to catch a click and...
nevermind, since i'm implementing the tabs as buttons, i'm pretty much limited to sprite swap. thanks!
so is this how i would change the color? : https://docs.unity3d.com/ScriptReference/SpriteRenderer-color.html
i have five tabs at the top of each menu in the game. i want the tab that corresponds to the active menu to be highlighted. how can i do this?...
the api docs show the function used in start