Forum Discussion

Justin_Michaux's avatar
Justin_Michaux
Copper Contributor
Feb 13, 2024
Solved

Get if user is an organiser, co-organiser or attendee in a Mesh Event

Greetings, I am a new developper working with the Mesh Toolkit in Unity.

 

In the current project I am working on, I would like to authorise players to perform actions, this could be based on whether the user is organiser, co-organiser or simply attendee in the Mesh Event.

 

Is there already a way to request that information in the Unity Mesh Toolkit? For example I would only like an organiser or co-organiser to allow the push of a button that would play a video.

 

Thank you very much in advance for your answers and consideration.

  • Justin_Michaux 

    Authorization of actions is currently not possible in Mesh, but it would be a great feature! 

     

    Showing images and videos by the host or co-hosts is currently possible with objects (aka artifacts) which you can add and hide before the start of the event in Mesh desktop app.

     

    A workaround to action authorization I have used is to create a combination padlock in Unity and you need to switch the correct numbers before performing any custom action such as entering the backstage (or private party room :stareyes:).

     

     

  • kaipiroska's avatar
    kaipiroska
    Brass Contributor

    Justin_Michaux 

    Authorization of actions is currently not possible in Mesh, but it would be a great feature! 

     

    Showing images and videos by the host or co-hosts is currently possible with objects (aka artifacts) which you can add and hide before the start of the event in Mesh desktop app.

     

    A workaround to action authorization I have used is to create a combination padlock in Unity and you need to switch the correct numbers before performing any custom action such as entering the backstage (or private party room :stareyes:).

     

     

    • Justin_Michaux's avatar
      Justin_Michaux
      Copper Contributor
      Oh it's sad that this hasn't been implemented yet. Thank you for your suggestion though!
      Although I suppose that changing the code would require rebuilding the scene with the new code, requiring a staff code within the scene is a cool and immersive workaround. 🙂

Resources