|
|
|
|
|
|
graphEditorView = new GraphEditorView(this, materialGraph) |
|
|
|
{ |
|
|
|
persistenceKey = selectedGuid, |
|
|
|
assetName = asset.name |
|
|
|
assetName = asset.name.Split('/').Last() |
|
|
|
}; |
|
|
|
m_ColorSpace = PlayerSettings.colorSpace; |
|
|
|
} |
|
|
|
|
|
|
graphEditorView = new GraphEditorView(this, m_GraphObject.graph as AbstractMaterialGraph) |
|
|
|
{ |
|
|
|
persistenceKey = selectedGuid, |
|
|
|
assetName = asset.name |
|
|
|
assetName = asset.name.Split('/').Last() |
|
|
|
}; |
|
|
|
graphEditorView.RegisterCallback<GeometryChangedEvent>(OnGeometryChanged); |
|
|
|
|
|
|
|