vrchat-community / UdonSharp

A compiler for compiling C# to Udon assembly
https://udonsharp.docs.vrchat.com
MIT License
461 stars 50 forks source link

VRCUrl edit string!!! #115

Closed denis-hik closed 1 year ago

denis-hik commented 1 year ago

VRCUrl(string url) | Constructor that takes a URL as input. Note that this can only be called at editor time.

Pls, add feature on edit VRCUrl in Udon program !!

jellejurre commented 1 year ago

Creating vrcurl at runtime being disabled is a security feature IIRC

MerlinVR commented 1 year ago

U# does not have control over this. Udon doesn't expose the constructor at runtime. Here is the canny for this https://feedback.vrchat.com/vrchat-udon-closed-alpha-feedback/p/allow-construction-of-vrcurl-at-runtime