public InputActionCopyPasteUtility(InspectorTree tree) { m_Tree = tree; m_Apply = () => { m_Tree?.Reload(); }; }
public static InspectorTree CreateFromActionMapProperty(Action applyAction, SerializedProperty actionMapProperty) { var treeView = new InspectorTree(applyAction, new TreeViewState()); treeView.m_ActionMapSerializedProperty = actionMapProperty; treeView.Reload(); treeView.ExpandAll(); return(treeView); }
public CopyPasteUtility(InspectorTree tree) { m_Tree = tree; m_Apply = () => { if (m_Tree != null) { m_Tree.Reload(); } }; }