๐ฏ 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.
๐ Recommended: Start with a New Project
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
Open Unity Hub and click
New Project
.Choose the URP 2D or 3D template.
Name your project and create it.
Once Unity opens, import the Virtual Pet Game Template package.
Let Unity compile and finish the import.
Open the
PetCare/Res/Scenes/Home
scene to start.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
Backup your current project.
Import the Virtual Pet Game Template package.
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.
Set Required Tags & Layers:
Go to
Edit > Project Settings > Tags and Layers
, and add the following:Player
(Tag)Platform
(Layer)Food
(Layer)
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