๐ŸŽฏ Project Setup Guide

Project Setup Guide โ€“ Virtual Pet Game Template

Welcome to the Virtual Pet Game Template! This page will walk you through the setup process, whether you're starting a new Unity project or integrating the template into an existing one.


To ensure the template works exactly as intended, it's highly recommended to start with a new Unity project using URP (Universal Render Pipeline).

Step-by-Step Installation โ€“ New Project

  1. Open Unity Hub and click New Project.

  2. Choose the URP 2D or 3D template.

  3. Name your project and create it.

  4. Once Unity opens, import the Virtual Pet Game Template package.

  5. Let Unity compile and finish the import.

  6. Open the PetCare/Res/Scenes/Home scene to start.

  7. Play the scene โ€“ everything is ready to go!

If you get errors after importing:

Open the PackageManager, select the Unity Registry tab and install the In-App Purchasing and Advertisement Legacy packages


โš™๏ธ Advanced: Importing into an Existing Project

If you already have a Unity project and want to integrate the template, follow these steps carefully.

Step-by-Step Installation โ€“ Existing Project

  1. Backup your current project.

  2. Import the Virtual Pet Game Template package.

  3. Switch to URP if your project is not already using it:

    • Go to Edit > Project Settings > Graphics and assign a URP pipeline asset.

    • Convert your existing materials or sprites if needed.

  4. Set Required Tags & Layers:

    Go to Edit > Project Settings > Tags and Layers, and add the following:

    • Player (Tag)

    • Platform (Layer)

    • Food (Layer)

  5. Assign Tags & Layers in Prefabs:

    • Player Tag: Assign to all player controllers (e.g., FlappyPlayerController, JumpPlayerController).

    • Platform Layer: Assign to platform prefabs used in the Jump Sky mini-game.

    • Food Layer: Assign to food prefabs used in the Food Flick mini-game.

โš ๏ธ Note: While integration is possible in existing projects, we strongly recommend starting with a fresh project to avoid conflicts and missing references.


โœ… You're Ready!

Youโ€™re now ready to begin developing with the Virtual Pet Game Template. If you're unsure where to go next, we recommend checking out the Scene Structure and Feature Overview pages next.

Happy developing! ๐Ÿพ

Last updated