Skip to content

michaelgx2/WScript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WScript

A very light weight script system. Mainly for Unity. But also usable in any C# projects.

Samples

//Notice: following code samples are not supposed to run in a same method. Judge the place where codes should run by yourself.
//To read a script file.
WScript script = new WScript(File.ReadAllText("C:\\scr.txt"));
//To create a new ScriptRunner with deltaTime always been 0.1
WUScriptRunner runner = new WUScriptRunner(()=>0.1f);
//Run a script.
runner.Run(script);

For more information about how to use WScriptSystem, check the project called WScriptTest.

About

A very light script system. Mainly for Unity. But also usable in any C# projects.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages