Forum Discussion
TAndrieu
Sep 12, 2024Copper Contributor
Custom C# script in Mesh ?
Hi, We are currently exploring the potential of using Mesh for collaborative work. Our existing setup already includes Unity ecosystem with custom packages, scripts, and more. I'm trying to reuse...
- Sep 16, 2024
TAndrieu wrote:
Thanks for the inputs. I'll get in touch with Mesh teams to see how we could adress this problem.
We have some complexe custom objects representing geological data, with on the fly generation, custom shaders, etc... and I was hopping to use Mesh as collaborative plateform. But this does not seem possible in the current state.TAndrieu Thanks for your query. I can confirm there is are no plans to support Monobehaviours in Mesh.
Instead of Monobeviours, we provide two mechanisms (cloud scripting and visual scripting) for adding logic to an environment. This is described in the scripting section of the Mesh Documentation.
(It also might be worth considering Webslates, since they can be used to visualize custom information.)
lukaszdudziak
Sep 13, 2024Brass Contributor
You cannot use your own C# scripts attached to the game object on the scene that will be deployed to Mesh. The only exception is Mesh scripts. You have to convert manually your scripts to Visual Scripts.
- TAndrieuSep 13, 2024Copper Contributor
lukaszdudziak Ouch, that's a huge limitation 😟.
Do you know if there is a plan to support custom MonoBehavior in the future ?Visual Script is too limited in our case, and we already have too much existing code to port it to VisualScript.