Skip to content

MilesLitteral/UnityRuby

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

Ruby Scripting in Unity/C#

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • ShaderLab 67.3%
  • Ruby 14.5%
  • HLSL 9.5%
  • C# 8.7%