private void Parse() { string fp = System.IO.Path.Combine(Application.streamingAssetsPath, "walk_loop.bvh"); Debug.Log(fp); _bp.GetTokenInfo(fp); if (_bp.Parse(_bvh) == 0) { _bvh.Cal(); } }
public void Parse(string info) { _bvh = new Bvh(); _bp = new BvhParser(); _frameIndex = 0; _pathIndex = 0; _bp.GetTokenInfo(info); if (_bp.Parse(_bvh) == 0) { _bvh.Cal(); return(0); } return(-1); }