The IronPython and System.Reactive dlls we use are targeted for .net 3.5 cuz of the system and mscorlib and other dlls shipped by unity are targeted old frameworks (2.0 I think)
We have python, we will add js. We may add ruby as well. These interpreters are really good and fast for writing a plugin, since you don't have to write the game, you don't need to write your plugins in C# to be efficient.
Example hello world plugin for pluton in python:
import clr
clr.AddReferenceByPartialName("Pluton")
import Pluton
from System import String
class HelloWorld:
def On_PlayerConnected(self, player):
player.Message("Welcome " + player.Name + "!")
player.Message(String.Format("This server...
Thanks! We plan to have both, @mikec said he wants to write a custom type converter first for the new jint, since using a dictionary and such in it is a big pain and ugly.
You can import it.
var fou = importNamespace("Fougerite");
var ini = new fou.IniParser("path to the file");
But you need to create the file manually first.
http://www.fougerite.com/threads/jint-2-2-update-was-merged-today.24/
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.