Last active
September 28, 2020 14:32
-
-
Save StephenHodgson/19e304e070199e8aba4b19a92dd2aa3b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright (c) XRTK. All rights reserved. | |
// Licensed under the MIT License. See LICENSE in the project root for license information. | |
using System; | |
using XRTK.Interfaces; | |
namespace XRTK.Examples.Demos.CustomExtensionServices | |
{ | |
/// <summary> | |
/// The custom interface for your extension service. | |
/// Only use property accessors in these to better control access to internals. | |
/// This interface is the contract for others to use to make their own | |
/// implementations if shared publicly. | |
/// </summary> | |
public interface IDemoCustomExtensionService : IMixedRealityExtensionService | |
{ | |
/// <summary> | |
/// A custom event. | |
/// </summary> | |
Action MyCustomEvent { get; set; } | |
/// <summary> | |
/// A custom property accessor. | |
/// </summary> | |
string MyCustomData { get; set; } | |
/// <summary> | |
/// A custom method call. | |
/// </summary> | |
void MyCustomMethod(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment