Mirror/doc/Components/index.md
2020-04-27 19:11:54 +02:00

3.2 KiB
Raw Blame History

Components Overview

These core components are included in Mirror:

  • Network Animator
    The Network Animator component allows you to synchronize animation states for networked objects. It synchronizes state and parameters from an Animator Controller.
  • Network Identity
    The Network Identity component is at the heart of the Mirror networking high-level API. It controls a game objects unique identity on the network, and it uses that identity to make the networking system aware of the game object. It offers two different options for configuration and they are mutually exclusive, which means either one of the options or none can be checked.
  • Network Manager
    The Network Manager is a component for managing the networking aspects of a multiplayer game.
  • Network Manager HUD
    The Network Manager HUD is a quick-start tool to help you start building your multiplayer game straight away, without first having to build a user interface for game creation/connection/joining. It allows you to jump straight into your gameplay programming, and means you can build your own version of these controls later in your development schedule.
  • Network Discovery Network Discovery uses a UDP broadcast on the LAN enabling clients to find the running server and connect to it.
  • Network Proximity Checker
    The Network Proximity Checker component controls the visibility of game objects for network clients, based on proximity to players.
  • Network Scene Checker
    The Network Scene Checker component controls visibility of networked objects between scenes.
  • Network Match Checker
    The Network Match Checker component controls visibility of networked objects based on match id.
  • Network Room Manager
    The Network Room Manager is an extension component of Network Manager that provides a basic functional room.
  • Network Room Player
    The Network Room Player is a component that's required on Player prefabs used in the Room Scene with the Network Room Manager above.
  • Network Start Position
    Network Start Position is used by the Network Manager when creating player objects. The position and rotation of the Network Start Position are used to place the newly created player object.
  • Network Transform
    The Network Transform component synchronizes the movement and rotation of game objects across the network. Note that the network Transform component only synchronizes spawned networked game objects.
  • Network Transform Child
    The Network Transform Child component synchronizes the position and rotation of the child game object of a game object with a Network Transform component.

Authenticators

Authenticators are also available and more will be added soon:

  • Basic Authenticator
    Mirror includes a Basic Authenticator in the Mirror / Authenticators folder which just uses a simple username and password.