@@ -15,6 +15,31 @@ namespace Microsoft.MixedReality.Toolkit.Core.Definitions
1515 [ Serializable ]
1616 public struct MixedRealityComponentConfiguration
1717 {
18+ /// <summary>
19+ /// Constructor.
20+ /// </summary>
21+ /// <param name="componentType">The concrete type for the system, feature or manager.</param>
22+ /// <param name="componentName">The simple, human readable name for the system, feature, or manager.</param>
23+ /// <param name="priority">The priority this system, feature, or manager will be initialized in.</param>
24+ /// <param name="runtimePlatform">The runtime platform(s) to run this system, feature, or manager on.</param>
25+ /// <param name="configurationProfile">The configuration profile for the system, feature, or manager.</param>
26+ /// <param name="editorPlatform">The editor platform(s) to run this system, feature, or manager on.</param>
27+ public MixedRealityComponentConfiguration ( SystemType componentType , string componentName , uint priority , RuntimePlatform runtimePlatform , ScriptableObject configurationProfile
28+ #if UNITY_EDITOR
29+ , UnityEditor . BuildTarget editorPlatform
30+ #endif
31+ )
32+ {
33+ this . componentType = componentType ;
34+ this . componentName = componentName ;
35+ this . priority = priority ;
36+ this . runtimePlatform = runtimePlatform ;
37+ this . configurationProfile = configurationProfile ;
38+ #if UNITY_EDITOR
39+ this . editorPlatform = editorPlatform ;
40+ #endif
41+ }
42+
1843 [ SerializeField ]
1944 [ Implements ( typeof ( IMixedRealityComponent ) , TypeGrouping . ByNamespaceFlat ) ]
2045 private SystemType componentType ;
0 commit comments