Networking

Setting Up Git and installing the MLAPI package

You don’t have access to this lesson
Please register or sign in to access the course content.

The Unity guide to Getting Started with MLAPI is a great place to make your first steps using the Unity MLAPI package.

MLAPI stands for Mid Level Application Programming[1] Interface. This provides us with a networking stack that works at the mid level (duh), sort of in the golidlocks zone. It’s not too specific that it only works in a few circumstances and situations and is not so low level that we need[2] to know what every packet does and how to send and receive all of them. It uses abstraction to hide away a lot of the details that we don’t need to see.

To install the MLAPI and other Git packages for unity you need to install Git (not Github Desktop).

You can grab a copy here.

After you install Git you will need to do a complete restart (note in Windows a Shutdown doesn’t clear all of the device drivers and settings so you need to restart).

In Unity open the Package Manager

Click the + Choose add package from git URL[3]

Paste the url[3]:

https://github.com/Unity-Technologies/com.unity.multiplayer.mlapi.git?path=/com.unity.multiplayer.mlapi#release/0.1.0

and click Add

The MLAPI will now have been installed.

Terms definitions
2. need. An identified requirement of a person, group, or environment[5]. A need is identified from an issue[6] and sits within a context[7]. Technological practice[4] can be undertaken in an attempt to meet an identified need.
3. URL. URL stands for “Universal Resource Locator”, it is an easy to remember address[8] for calling a web page (like www.code.org)
Terms definitions
1. Programming. The Unity guide to Getting Started with MLAPI is a great place to make your first steps using the Unity MLAPI package. MLAPI stands for Mid Level Application Programming Interface. This provides us with a networking stack that works at the mid level (duh), sort of in the golidlocks zone. It’s not too specific that […]
2. need. The Unity guide to Getting Started with MLAPI is a great place to make your first steps using the Unity MLAPI package. MLAPI stands for Mid Level Application Programming Interface. This provides us with a networking stack that works at the mid level (duh), sort of in the golidlocks zone. It’s not too specific that […]
3. URL. The Unity guide to Getting Started with MLAPI is a great place to make your first steps using the Unity MLAPI package. MLAPI stands for Mid Level Application Programming Interface. This provides us with a networking stack that works at the mid level (duh), sort of in the golidlocks zone. It’s not too specific that […]
4. Technological practice. The Unity guide to Getting Started with MLAPI is a great place to make your first steps using the Unity MLAPI package. MLAPI stands for Mid Level Application Programming Interface. This provides us with a networking stack that works at the mid level (duh), sort of in the golidlocks zone. It’s not too specific that […]
5. environment. The Unity guide to Getting Started with MLAPI is a great place to make your first steps using the Unity MLAPI package. MLAPI stands for Mid Level Application Programming Interface. This provides us with a networking stack that works at the mid level (duh), sort of in the golidlocks zone. It’s not too specific that […]