You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
class"Test()"(static.hello()=(return"world")self.hello()=(return"originos"))vartest=newTest()logTest.hello()// its on the class! (logs world)logtest.hello()// but on the instance its what we added :sunglasses: (logs originos)
// as an object"Test":{"hello": {"main": {"inputs": {},"code": ["return \"world\""]},"inst": {"inputs": {},"code": ["return \"originos\""]}}}
The text was updated successfully, but these errors were encountered:
Mistium
changed the title
[Suggestion] Classes in osl
[Suggestion] Classes In OSL
Apr 7, 2024
Still unsure of the proper syntax to make this in osl, especially with the current parser, might be better off using the compiler system somehow, maybe use a json object 🤷♀️
Mistium
changed the title
[Suggestion] Classes In OSL
[NEW OSL] Classes
May 16, 2024
Static
The text was updated successfully, but these errors were encountered: