Unity Installation
Installing StoryTime in Unity3D
Prerequisites
You must have git installed on your machine.
Package(s) from GitHub:
Package(s) from Unity asset store.
Getting Started
Make sure if you use an existing project that it has Universal Render Pipeline (URP) enabled.
To get started, you'll need to install StoryTime in your Unity3D project. StoryTime is available as a package via OpenUPM, and via direct download as a
.unitypackage
file.
Quick Start: Direct download
To install StoryTime via direct download, follow these steps:
Go to the releases page, and download the
.unitypackage
.Open the
.unitypackage
, and import its contents into your project.
StoryTime will be installed into the StoryTime
folder in your project's Assets.
Quick Start: OpenUPM
To install StoryTime via OpenUPM, follow these steps:
Install
openupm-cli
.Open a terminal, and navigate to your project's folder.
Run the following command:
openupm add com.vamidicreations.storytime
StoryTime will be installed into the StoryTime
folder in your project's Packages.
Quick Start: Unity Editor
To install StoryTime via Unity3D, follow these steps:

Unity Setup
Once Unity is opened go to the toolbar and click on
Window > Package Manager
.Press the plus
+
in the top left corner and selectAdd package from git URL
. Pastehttps://github.com/vamidi/StoryTime-UPM.git
and click add.
If you have
warning CS1030
you can fix this by going toFile > Build Settings
and select x86_64 architecture.

Once everything is installed we have to create a config file to start communicating to your StoryTime server.
You can create a config file by right-click anywhere in your asset folder (i.e
Assets > Settings
) and go toCreate > DatabaseSync > Configurations > Config File
.
ATTENTION - If you name your config different than the name provided add it to the .gitignore or else you will push sensitive data. You can just use the standard name provided or create your own.
Then go to
Window > DatabaseSync > Global Settings
.Drag your config file into the first field and more fields will pop up.
Fill in the necessary fields in order to communicate. They are listed below.
Variable
Default Value
Description
Database URL
YOUR_FIREBASE_DATABASE_URL
The URL of your StoryTime server.
Project ID
YOUR_PROJECT_ID
The project you want to retrieve the data from. (Located in the StoryTime web editor)
YOUR_EMAIL_LOGIN
Your StoryTime login credentials.
Password
Your StoryTime login credentials.
Data path
YOUR_UNITY_DATA PATH
The location that StoryTime is going to store all the data
After filling all the necessary fields you can start syncing all the data.
Look in the console to see if the data has been sync.
Look at the documentation for more information on getting started with the components.
Last updated
Was this helpful?