Skip to content

Commit dfa3be7

Browse files
committed
more cleaning
1 parent 941e8b2 commit dfa3be7

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

com.unity.render-pipelines.core/Runtime/Inputs/InputRegistering.cs

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -39,20 +39,6 @@ public static class InputRegistering
3939

4040
static bool havePendingOperation => s_PendingInputsToRegister.Count > 0;
4141

42-
static bool InputAlreadyRegistered(string name, InputManagerEntry.Kind kind, SerializedProperty spAxes)
43-
{
44-
for (var i = 0; i < spAxes.arraySize; ++i)
45-
{
46-
var spAxis = spAxes.GetArrayElementAtIndex(i);
47-
var axisName = spAxis.FindPropertyRelative("m_Name").stringValue;
48-
var kindValue = spAxis.FindPropertyRelative("type").intValue;
49-
if (axisName == name && (int)kind == kindValue)
50-
return true;
51-
}
52-
53-
return false;
54-
}
55-
5642
static void CopyEntry(SerializedProperty spAxis, InputManagerEntry entry)
5743
{
5844
spAxis.FindPropertyRelative("m_Name").stringValue = entry.name;

0 commit comments

Comments
 (0)