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.
Thank you! The methods are being read as normal now but still not functioning correctly after I press the "Restart" button. Before I fiddle around...
All the errors I'm attempting to address are exactly what the title says "Private member unused", these private members being Awake. Update, and...
I checked and the script in question is never destroyed or disabled. The Awake, Update, and OnCollisionEnter methods are never read upon...
As the title says, the private methods Awake, Update, and OnCollisionEnter are not being read by the computer, causing my game to initially read...
The title says it all. The Polygon Collider2D is ignoring this statement: Physics2D.queriesStartInColliders = false; This is making the ray...
I followed a YouTube tutorial to code this for another enemy in my game and then copy/pasted that code and edited where edits were necessary. As...
I've got all the code to draw a ray, including Debug.DrawLine() for both neutral and collision detection, as seen below, but a ray isn't being...
I already determined it isn't anything in that script, it's something with the boss objects, which is why I made a separate health script, and...
I made a separate health script for these boss objects and everything reads just fine, although nothing happens when it's being read, that's gotta...
The problem I'm currently having is pretty self-explanatory given the title. The if statement checking if the boss's health has reached 0 isn't...
I ensured the TakeDamage() function ends after the if statement rather than after the Die() function although that didn't get rid of the bug....
For a while, I've been dealing with this bug with the second boss in my game where on the last phase he just won't die. Or I thought that was the...
I found that the AI was moving the boss regardless of if it was on-screen or not, so all I needed to do was create a boolean that checks if it's...
Every phase of my second boss works 100% as expected, but at the last part of the final phase, all the variables are set to their correct values,...
The issue was that when the boss AI script was enabled in phase 3, his target wasn't assigned. I just didn't take that into consideration, that's all.
The issue presented itself as an AI issue, so I didn't think the phase manager was super relevant, but I'll post the code just in case it is....
I put Debug.Log() statements all throughout my AI script, and found that all the code is functioning as expected. I should've specified; the boss...
I've been developing a boss rush-esque game solo in Unity, and have nearly completed coding the second boss, but when they enter phase 3 the boss...
Thank you for this! Using this method, I've found that the game object that this script is for is causing problems. The ray itself is working 100%...
I've put the script on the GameObject I want to shoot the ray from, I checked if the GameObject and script are enabled, and the distance is 50, as...