Example #1
0
        public void Init(YnvFile ynv, NavMeshPoly poly)
        {
            Ynv     = ynv;
            RawData = poly;

            LoadIndices();
            LoadPortalLinks();
            CalculatePosition(); //calc poly center for display purposes..
        }
Example #2
0
 public void Init(YnvFile ynv, NavMeshPoly poly)
 {
     Ynv     = ynv;
     RawData = poly;
 }