florianvazelle / unity-cpp-template

My custom Unity/C++ template

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unity C++ Template

Usage

Build

Use the following command to build the library.

cd cpp
cmake -Bbuild
cmake --build build # generate a shared lib (.so or .dll)

Move this library to the corresponding folder in unity directory :

  • unity/Assets/Plugins/Linux/x86_64 for Linux
  • unity/Assets/Plugins/Win/x86_64 for Windows

⚠️ Unity need to restart when we change the library.

Requirements

About

My custom Unity/C++ template

License:The Unlicense


Languages

Language:C# 47.8%Language:C++ 39.8%Language:CMake 12.4%