Skip to content
This repository has been archived by the owner on Jan 10, 2024. It is now read-only.

An example project that shows how to use FFI between Rust and Unity.

Notifications You must be signed in to change notification settings

testdouble/rust-ffi-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust FFI Example

An example project that shows the use of Rust's FFI capabilities to handle memory- or performance-senstivie work in Rust while the remainder of the application is written in Unity.

This initial version uses Rust to manage a simple-as-it-gets UDP protocol between a Unity app with a desk bell and a Node server listening for when that bell rings.

Over time, this project can grow to show more available features of both Rust and FFI:

  • Custom network protocols in Rust.
  • Reading complex data structures into C# from Rust.
  • A working game, perhaps?

What's with the desk bell?

It's from a game called Pit.

Attributions

About

An example project that shows how to use FFI between Rust and Unity.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published