public static void Register() { try { ComponentRegistrar.Register(typeof(TSource), typeof(TNew)); } catch (Exception e) { UDebug.Log(LogMessageType.ERROR, $"Error registering component ({typeof(TNew).Name}): {e.ToString()}"); } }
void Update() { MenuManager.OpenClose(); ComponentRegistrar.HandleRegistrar(); }