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!
Related Posts
Leave a comment
Recent posts
- Create Scene Thumbnail Image using OnSceneSaved & OnPreviewGUI
- webgl+javascript TTS
- Using Moonsharp (LUA) + Unity Webgl
- Using 3D gameobject prefabs with Unity Tilemap + NavMesh Surface
- Custom Unity Hub Project Template Preview Image/Video (using HTML+CSS in package description)
- Check if point is inside polygon 2D (using line intersection)
- UnityHub: Enable Create Project Button (without having to select Cloud Organization)
- UI: Make Tooltip background fit Text content length
- Pong-Wars in Unity
- Install Android SDK+JDK+NDK for Unity (without AndroidStudio or Unity Hub)
- UnityHub: Add support for custom project title (instead of folder name) or use ProductName
- Testing Unity MUSE AI