Skip to content

Commit

Permalink
test ci
Browse files Browse the repository at this point in the history
  • Loading branch information
bmalrat committed Jul 8, 2024
1 parent 6282495 commit b0e2bc1
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions Packages/com.unity.inputsystem/InputSystem/InputManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1973,6 +1973,7 @@ void RegisterCustomTypes()
var assemblies = AppDomain.CurrentDomain.GetAssemblies();
foreach (var assembly in assemblies)
{
Debug.Log("Assembly: " + assembly.FullName);
try
{
// exclude InputSystem assembly which should be loaded first
Expand All @@ -1985,11 +1986,11 @@ void RegisterCustomTypes()
|| type.IsAbstract
|| type.IsGenericType)
continue;

if (typeof(InputProcessor).IsAssignableFrom(type))
{
InputSystem.RegisterProcessor(type);
}
Debug.Log("Instantiating type: " + type.FullName);
//if (typeof(InputProcessor).IsAssignableFrom(type))
//{
// InputSystem.RegisterProcessor(type);
//}
// test ci
//else if (typeof(IInputInteraction).IsAssignableFrom(type))
//{
Expand All @@ -2003,6 +2004,11 @@ void RegisterCustomTypes()
}
catch (ReflectionTypeLoadException)
{
Debug.Log("Failed getting types in assembly: " + assembly.FullName);
}
catch (System.Exception)
{
Debug.Log("Failed getting types in assembly generic: " + assembly.FullName);
}
}
}
Expand Down

0 comments on commit b0e2bc1

Please sign in to comment.