Skip to content
This repository has been archived by the owner on Feb 26, 2023. It is now read-only.

CdecPGL/UNet-Custom

Repository files navigation

UNet Custom

Build status

Customized UNet HLAPI based on fixes branch of Mirror, which is Unity's network library based on UNet HLAPI. This library is tested on Unity2018.3.

Install

  1. Download dlls
  2. Put downloaded dlls to your project window in Unity
  3. Exclude Runtime/PlanetaGameLabo.UNetCustom.Runtime.dll from Editor
  4. Only include Runtime-Editor/PlanetaGameLabo.UNetCustom.Runtime.dll

Usage

API is ame as UNet. You can reffer the document of UNet.

Additional Features

  • Customize scene loading process in NetworkManager

Customize scene loading process in NetworkManager

protected virtual AsyncOperationWrapper NetworkManager.LoadSceneAsync(string newSceneName);

This method can be oveerrided to implement fade in/out in scene loading.

The behavior of default implementation is same as that of original HLAPI.

Version Numbering Rule

<Major Version>.<Minor Version>.<Sub Version>

  • Breaking Change: Increment major version number
  • Feature Addition but Not Breaking Change: Increment minor version number
  • Bug Fix: Increment sub version number