private void Awake() { if (_tileModelManager != null) { _tilemodel = _tileModelManager.TileModel; } _analysisGraph.Initialize(); _graphvisualizer = GetComponent<GraphVisualizer>(); }
private void Awake() { _averageForces = new float[_originalGraph.VertexObjects.Count]; _averageTorques = new float[_originalGraph.VertexObjects.Count]; if (_tileModelManager != null) { _tileModel = _tileModelManager.TileModel; } _analysisGraph.Initialize(); _graphVisualizer = GetComponent <GraphVisualizer>(); }