コード例 #1
0
        protected void AddActionSet()
        {
            InputActionSerializationHelpers.AddActionMap(serializedObject);
            ++m_ActionMapCount;

            Apply();

            if (m_ActionTreeView == null)
            {
                InitializeActionTreeView();
            }
            else
            {
                m_ActionTreeView.Reload();
            }
        }
コード例 #2
0
 public void OnAddActionMap()
 {
     InputActionSerializationHelpers.AddActionMap(m_ActionAssetManager.serializedObject);
     m_AssetInspectorWindow.Apply();
 }
コード例 #3
0
 public void OnAddActionMap()
 {
     InputActionSerializationHelpers.AddActionMap(m_ActionAssetManager.serializedObject);
     m_AssetInspectorWindow.ApplyAndReload();
     m_AssetInspectorWindow.m_ActionMapsTree.SelectNewActionMapRow();
 }
コード例 #4
0
 private void OnAddActionMap()
 {
     InputActionSerializationHelpers.AddActionMap(m_SerializedObject);
     Apply();
 }