You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//At the time of InitializeOnLoad the packages are compiled and registered
17
-
//InitializeOnLoad on classes (see GXDKSupport) and their static constructors are compiled before methods with InitializeOnLoadMethod attribute (like this one)
18
-
//Therefore the order of registering platforms from plugins is guaranteed
16
+
// Input system platform specific classes register with the input system via a class using InitializeOnLoad on static constructors.
17
+
// Static constructors in classes that are tagged with the InitializeOnLoad attribute are called before methods using the InitializeOnLoadMethod attribute.
18
+
// So the extra input system packages will be registered before this check which is done in InitializeOnLoadMethod.
19
19
[InitializeOnLoadMethod]
20
20
privatestaticvoidCheckForExtension()
21
21
{
22
22
ThrowWarningOnMissingPlugin();
23
23
}
24
24
25
-
//This static HashSet will be reset OnDomainReload and so it will be emptied and refilled every [InitializeOnLoad]]
// This static HashSet will be reset OnDomainReload and so it will be reset every Domain Reload (at the time of InitializeOnLoad).
26
+
// This is pre-populated with the list of platforms that don't need a extra platform specific input system package to add platform specific functionality.
0 commit comments