This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
using System.Collections.Generic; | |
using Pathfinding; | |
using Pathfinding.RVO; | |
/** Adds a GridGraph as RVO obstacles. | |
* Add this to a scene in which has a GridGraph based graph, when scanning (or loading from cache) the graph | |
* it will be added as RVO obstacles to the RVOSimulator (which must exist in the scene). | |
* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
public class Fps : MonoBehaviour | |
{ | |
private float count; | |
private IEnumerator Start() | |
{ | |
GUI.depth = 2; |