示例#1
0
        private void Awake()
        {
            _graph = _grid.Graph;
            _verts = _grid.VertexObjects;

            _manager = GetComponent <TileModelManager>();
            _tileSet = _manager.TileSet;
        }
示例#2
0
        private void Awake()
        {
            _graph = _grid.Graph;
            _verts = _grid.VertexObjects;

            _manager = GetComponent <TileModelManager>();
            _tileSet = _manager.TileSet;

            _stableTiles = new List <VertexObject>();
            _weakTiles   = new List <VertexObject>();
            _meshedTiles = new List <VertexObject>();
            _densities   = new float[_verts.Count];
        }