Hello everyone.

The Mixed Reality Forums here are no longer being used or maintained.

There are a few other places we would like to direct you to for support, both from Microsoft and from the community.

The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.

For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.

If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.

And always feel free to hit us up on Twitter @MxdRealityDev.
Options

Autocompletion for UWP-Libraries in Unity

I'm wondering how I can get autoc-completion for UWP-Code like web sockets which are not accessible in Unity/Mono. See below. It's just seen as a comment with no auto-completion and incorrect formatting.

Answers

  • Options
    edited March 2018

    Hi @travelhawk07,

    In Unity Editor you cannot access to the methods that are inside of blocks like you have in your code. They are not accessible because that properties are not going to be run in Unity Editor, therefore, the code appears as it was commented.

    You can access to that methods going to the solution that Unity generates by clicking in build button. Open the solution in Visual Studio and search for your scripts in the solution explorer. When you open a script with code that are not going to be run in Unity Editor you will notice that the gray colour has disappeared and, therefore, you will be able to access to that methods.

    Regards,
    Cristian.

  • Options

    Thank you Christian! It makes actually sense. So I might rather develop in the generated VS solution using Visual Studio.

Sign In or Register to comment.