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

            _manager = GetComponent <TileModelManager>();
            _tileSet = _manager.TileSet;
        }
Exemple #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];
        }