Sansar
Not enough ratings
Sansar Scripting Guide
By EvoAv
This is a guide for C# scripting in Sansar, and serves as a temporary repository of tips and hints for scripting until we have an official wiki to use.

Link to guide (github) [github.com]
   
Award
Favorite
Favorited
Unfavorite
Intro to C#
C# (C Sharp) is an object-oriented programming (OOP) language developed by Microsoft that is commonly used for creating games. Many popular gaming frameworks, such as Unity, use C#, and this is also the language used for Sansar scripts.

Intro to Sansar Scripts
Sansar scripts use a custom subset of C# that restict the usage to only whitelisted native libraries, for both security and performance reasons. Normally, if a native library is too useful but fails either these two requirements, than a custom implenetation will be provided with some limitations applied; HttpClient is a prime example of this.

Limits
#
Section
1
Environment Limits[github.com]
2
3
Scripting Limits[github.com]
Sansar Controls
User controls can be subscribed to using User.Client.Subscribe(). Currently there is no way to block Sansar native controls when listening to them.

1 Comments
Positronic Brain 🧠 27 Nov, 2021 @ 12:16pm 
Is it totally LSL? Or different?