Dec
9
2019

Using raylib.dll in Unity

raylib is https://github.com/raysan5/raylib
There are c# bindings available at https://github.com/ChrisDill/Raylib-cs

Steps:
– Download raylib.dll from releases (i took raylib-2.5.0-Win64-msvc15.zip)
– Unzip and copy \raylib-2.5.0-Win64-msvc15\bin\raylib.dll into your Unity project Plugins/ folder
– Download c# bindings repository (click “clone or download” .. as zip)
– Unzip and copy \Raylib-cs-master\Bindings\ folder into your Unity project (under Assets/)
– Test with example script: https://gist.github.com/unitycoder/dfd1c355ef6800604eecd99c5ebee434
– Then check raylib wiki + examples to see if there is something useful for Unity side!

raylib example running from unity

Leave a comment

Connect

Twitter View LinkedIn profile Youtube Github Join Discord Twitch Instagram BlueSky

UnityLauncherPro

Get UnityLauncherPRO and work faster with Unity Projects!
*free unity hub alternative

@unitycoder_com

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.