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.
I have successfully done this. Wow this is a better structure. Less methods + faster?
I have started using this and so far it seems to be a much better way to do things. The only thing i've always had in update is input which always...
public class AITesting...
hmm, this situation got harder...a lot harder :( anyone know of a way to do this?
if (!agent.isOnOffMeshLink) is my answer
and created another script to handle destination, fixed :)
i first want to state i'm just using a basic AI here:
I actually have 1000 units working with navmesh without any issue. It's just creating formations that i am now working on in a performance based way.
I'm sure others have done this.
If you have all of your agents(via navmeshagents) move to a destination they all keep fighting to get to the...
no i won't use c++, not going to waste my time.
I have been researching this further and determined that this new way of thinking is far from performance based and just makes it easier to...
1. i use nulls because it seems to help reduce garbage collection ( i don't know why ).
2. it isn't named update it's just an example name
i probably will just do index because it's easier but it takes quite a lot of time to test example 1 vs 2 & 3 because 2 & 3 is easy it's within...
well i already fixed it by just putting it in awake so it is no longer an issue. this did make me change a lot of code i didn't realize was...
ya getcomponent is horrible. i initialize all arrays, getcomponents, ect, ect that i can and object pool quite a bit. i'm just trying to get down...
Multiple .cs scripts attached to each individual gameobject
public class SomeClass : Blahblah
private void OnMouseOver()
unity says an error in the latest version saying FindObjectOfType( is only allowed in start and awake now :(
public class BC_Singleton : MonoBehaviour
private static BC_Singleton instance = null;
public static BC_Singleton Instance
nvm, already figured it out sorry:
Coroutine water = null;
Coroutine wood = null;
water = StartCoroutine(Update(Water.Automation, Water,...
private void Start()
Wood.TotalProductionTime = 0.3f;
You just open a whole new can of worms for me lol...
Does this mean:
public class Globals
public const string scientificnotationformatter =...