🍬
Candy Merge
  • Welcome
  • Getting Started
    • Quickstart
    • ‼️Installation Guide
  • Settings & Configuration
    • Runtime Settings
    • Editor Settings
    • Game Settings
    • Camera Settings
    • Candy Settings
    • Player Settings
  • SYSTEMS
    • Candies
    • Game Over
    • Level
    • Managers
    • Menu
    • Pause
    • Save
    • Transition
    • UI Components
    • User
Powered by GitBook
On this page
  1. Settings & Configuration

Camera Settings

The settings can be located under Candy Merge/_Config/Camera/Shakes

Each camera shake is configured by a Camera Shake object.

Creating a new camera shake

  1. To add a new camera shake setting you do the following: Right-click anywhere in the Project and select Create/Essentials/Camera/Shake.

  2. Now you can edit the camera shake however you want. Each property has a tooltip if you hover the property name for a couple of seconds.

  3. To call the camera shake you simply expose a camera shake object in the inspector and call it with:

    [SerializeField] private CameraShake shake; // expose in the inspector
    
    CameraShakeController.DoShake(shake); // call the shake
PreviousGame SettingsNextCandy Settings

Last updated 2 months ago