File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed
com.unity.render-pipelines.core/Runtime/Inputs Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff 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 ;
You can’t perform that action at this time.
0 commit comments