Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.52 KB

README.md

File metadata and controls

32 lines (23 loc) · 1.52 KB

UnityRuby

Ruby Scripting in Unity/C#

HOW IT WORKS

Using NuGet, Install IronRuby, it will install to the directory of the Unity Build you are currently using, You shouldn't have to worry about .NET version in Unity as NuGet will resolve all instances of scope in C#.

In your Build folder there will be a Lib/IronRuby Folder this directory is used to read from or execute any Ruby scripts that need to be accessed via C# in Unity3d

While currently I'm writing an Interface Class to more easily use IronRuby in Unity, IronRuby commands will work and can be used to execute your custom scripts via a C# layer (examples in progress).

As a bonus any gem used in a ruby script should in fact execute in engine, Seeing as the scopes of the MSVC and Ruby are separate the script allows them to meet rather than create a nightmare.

RoadMap: Reflect Basic Classes in Ruby (Object, MonoBehavior, GameObject, Transform, and Debug) so C# Data may be manipulated from Ruby and vice versa Reflect Mathf, Random, Vectors, Quaternion Reflect ScriptableObject, Time, Gizmos, and Handles

See Also:

Bugs: N/A (For now, no known bugs)