Unit System
  • WELCOME
    • πŸ‘‹Hello
    • πŸ—ΊοΈRoadmap
    • ⛑️Support & Community
    • πŸŽ“Version - Changelog
  • Getting Started
    • πŸ”ŒImport Package
    • βš™οΈConfiguration
    • πŸ” Database
    • πŸͺŸManager Window
    • Creating a new Scene
      • Player Camera
      • Set up Player
      • Set up Player UI
      • Set up the Game World
    • Create Units
      • Resource (Crystal)
      • Research (Crystal age)
      • Resource node (Crystal Node)
      • Resource collector (Crystal)
      • Combat unit (Mage)
      • Production unit (Mage Tower)
      • Faction (Purple Cubes)
  • How it works
    • Overview
    • Modules
      • Resource
      • Production
      • Population
      • Garrison
      • Collection
  • Integration
    • Unit Selection
    • Unit Formation
    • Object Placement
Powered by GitBook
On this page
  1. Getting Started
  2. Creating a new Scene

Player Camera

PreviousCreating a new SceneNextSet up Player

Last updated 16 days ago

Like in any project, we first need to give the player a given perspective of the game world and potentially movement capabilities for the camera.

If you already have a camera set up, then you can skip this step an go to the next page.

You can use the demonstration controller by adding the CameraController component to the camera game object.

You can also use the camera package, supports Legacy and New input systems. Simply import and configure the camera controls (using Unity's old or new input system):

Or you always can add your own script for controlling the camera movement

πŸ’ͺ
Player Spectator
CameraController
PlayerSpectator