|
|
|
|
|
|
m_PreviewScrollPosition.y = Mathf.Clamp(m_PreviewScrollPosition.y, -90f, 90f); |
|
|
|
Quaternion previewRotation = Quaternion.Euler(m_PreviewScrollPosition.y, 0, 0) * Quaternion.Euler(0, m_PreviewScrollPosition.x, 0); |
|
|
|
m_Graph.previewData.rotation = previewRotation; |
|
|
|
|
|
|
|
masterNode.onModified(masterNode, ModificationScope.Node); |
|
|
|
} |
|
|
|
|
|
|
|
void OnMouseScroll(float scrollDelta) |
|
|
|
|
|
|
|
|
|
|
masterNode.onModified(masterNode, ModificationScope.Node); |
|
|
|
} |
|
|
|
|
|
|
|
void OnAddProperty() |
|
|
|