public override void PreInitialise()
        {
            base.PreInitialise();

            NavCell = new RenderNavCell(OwnGraphicsClass);
            NavCell.Init(OurCellInfo);
            assets.Add(RefManager.GetNewRefID(), NavCell);
        }
Beispiel #2
0
        public SpatialCell(KynogonRuntimeMesh.Cell cellData, BoundingBox extents)
        {
            assets = new Dictionary <int, IRenderer>();
            RenderNavCell cell = new RenderNavCell();

            cell.Init(cellData);
            assets.Add(StringHelpers.GetNewRefID(), cell);
            boundingBox = extents;
        }