public void Show(BoneCache target, bool isReadOnly) { m_BoneInspectorPanel.target = target; m_BoneInspectorPanel.SetHiddenFromLayout(false); var readOnlyProperty = BoneInspectorPanel.PropertyReadOnly.None; if (isReadOnly) { readOnlyProperty = BoneInspectorPanel.PropertyReadOnly.Name | BoneInspectorPanel.PropertyReadOnly.Depth | BoneInspectorPanel.PropertyReadOnly.Color; } m_BoneInspectorPanel.SetReadOnly(readOnlyProperty); }
public void Show(BoneCache target) { m_BoneInspectorPanel.target = target; m_BoneInspectorPanel.SetHiddenFromLayout(false); }
public void Show() { m_BoneInspectorPanel.SetHiddenFromLayout(false); }