Skip to content

Instantly share code, notes, and snippets.

@StephenHodgson
Created September 23, 2020 19:10
Show Gist options
  • Save StephenHodgson/1480b063363387abe23fc929233d1ede to your computer and use it in GitHub Desktop.
Save StephenHodgson/1480b063363387abe23fc929233d1ede to your computer and use it in GitHub Desktop.
// Copyright (c) XRTK. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using XRTK.Definitions;
using UnityEngine;
namespace XRTK.Examples.Demos.CustomExtensionServices
{
/// <summary>
/// This is the custom configuration profile for your custom extension service.
/// In this file you'll want to put as much customizable options into it for the application to consume at runtime.
/// </summary>
[CreateAssetMenu(menuName = "Mixed Reality Toolkit/Demos/CustomExtensionServiceProfile", fileName = "DemoCustomExtensionServiceProfile", order = 99)]
public class DemoCustomExtensionServiceProfile : BaseMixedRealityExtensionServiceProfile
{
[SerializeField]
[Tooltip("The custom configuration data you want to use at runtime.")]
private string myCustomStringData = string.Empty;
/// <summary>
/// The custom configuration data you want to use at runtime.
/// </summary>
public string MyCustomStringData => myCustomStringData;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment