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.
Camera Rotation is Choppy. Rotation is smooth when a new project is started but after a few days the rotation of the camera becomes choppy. It is...
..any thoughts or suggestions?
i am randomly instantiating objects on randomly instantiated level Objects then sending them into a "for loop" on another script with the find...
Also I wanted to set alarmOn back to false, the below seems to work fine. for (int i = 0; i < EnemyScripts.Length; i++) {...
YES! Thank You! Also your game looks awesome. i will definitely check it out!
When my enemy sees the player the public bool method CanSeePlayer() returns true. When this happens I want the the the bool alarmOn in the...
thanks to both of you for responses! This is what I want, yes. Works with one, not with more than one. i am going to work on breaking up the...
Hello Cant figure out what to do next. When there is one enemy with script below everything works. When there his more than one enemy things...
Thanks for the response. Have both an object in the scene with the tag "Enemy" and it has an active enemy controller component. I added another...
The first set of code below works. The second set is able to access the game object Enemy but doesn't access the EnemyScript. How do I write...
Also do you recommend for loop or a for each loop?
By putting 0 in between the [ ] I am hard coding in a specific index of the array, is that correct? That was a mistake, I did not mean to do...
This is the code I'm using now, not getting error. For EnemyScripts[].playerInSight i dont know what to put in the brackets. EnemyController[]...
when I use this code: Enemies = GameObject.FindGameObjectsWithTag("Enemy"); foreach (GameObject Enemy in Enemies) {...
I'm lost... this is a foreach loop im trying... Enemies = GameObject.FindGameObjectsWithTag("Enemy"); foreach (GameObject Enemy in...
Indeed, I am getting an index out of range error. not sure how to properly access the Enemy Controller script component.
Hello, i am trying to grab bool, playerInSight, from my EnemyController script. This works fine with one Enemy object but when I attempt to load...
Figured it out. Thanks for the reply. :)
Second time asking and still stuck. I received no response the first time if this is not the correct place to ask then where should I go to find...
Any Thoughts?