Code Monkey home page Code Monkey logo

protobuf-unity's Introduction

protobuf-unity

Protocol buffers for Unity

Installation

Ensure that you have Git properly installed on your system.

  1. Copy the git url:
https://github.com/rpopic2/protobuf-unity.git
  1. In Unity, navigate to and open Windows > Package Manager

  2. Click the plus sign('+') and select Add package from git URL...

Screenshot 2023-09-12 at 10 37 38
  1. Paste the git url and click the Add button.

  2. In Project Settings > Player > Other Settings > Api Compatibility Level, ensure it is set to .Net Standard 2.1

You might also want to install the Protocol buffers compiler (protoc) to generate code from your .proto files.

To install protoc, please follow the official installation instructions provided in the protobuf GitHub repository.

See also

Official protobuf GitHub repository

Official C# tutorial

Motivation

I wanted to use protobuf in my Unity project, and I found that it could be only installed via nuget packages, which do not work with Unity. So I searched for other protobuf plugins for Unity, and it either had too much abstraction around it, or provided GUIs that I didn't really care. This package includes only the protobuf dll binaries that Google provided, and nothing more. I removed duplicate dlls for different frameworks, because Unity complained about them. That's all. This is the protobuf as-is.

protobuf-unity's People

Contributors

rpopic2 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.