public void Awake() { this.PathReturnQueue = new PathReturnQueue(this); this.PathProcessor = new PathProcessor(this.PathReturnQueue, 1, false); this.AStarConfig = new AStarConfig(); this.AStarConfig.pathProcessor = this.PathProcessor; LoadGraph(); }
// Use this for initialization void Start() { this.virtualPos = this.transform.position; AStarConfig config = new AStarConfig(); config.graphs = DeserializeHelper.Load(this.Graph.bytes); MoveUpdate(); }