Pathfinding.RVO.RVOController.Awake C# (CSharp) Method

Awake() public method

public Awake ( ) : void
return void
		public void Awake () {
			tr = transform;
			
			RVOSimulator sim = FindObjectOfType(typeof(RVOSimulator)) as RVOSimulator;
			if (sim == null) {
				Debug.LogError ("No RVOSimulator component found in the scene. Please add one.");
				return;
			}
			simulator = sim.GetSimulator ();
		}