Beispiel #1
0
        /// <summary>
        /// Register the platform with the UEBuildPlatform class
        /// </summary>
        public override void RegisterBuildPlatforms()
        {
            HoloLensPlatformSDK SDK = new HoloLensPlatformSDK();

            SDK.ManageAndValidateSDK();

            // Register this build platform for HoloLens
            if (SDK.HasRequiredSDKsInstalled() == SDKStatus.Valid)
            {
                Log.TraceVerbose("		Registering for {0}", UnrealTargetPlatform.HoloLens.ToString());
                UEBuildPlatform.RegisterBuildPlatform(new HoloLens(UnrealTargetPlatform.HoloLens, SDK));
                UEBuildPlatform.RegisterPlatformWithGroup(UnrealTargetPlatform.HoloLens, UnrealPlatformGroup.Microsoft);
                UEBuildPlatform.RegisterPlatformWithGroup(UnrealTargetPlatform.HoloLens, UnrealPlatformGroup.HoloLens);
            }
        }
Beispiel #2
0
 public override SDKStatus HasRequiredSDKsInstalled()
 {
     return(SDK.HasRequiredSDKsInstalled());
 }