This article was automatically translated.
In this article, we will introduce a method for using assets created by Unity on STYLY.
The types of Unity assets that can be used in STYLY are 3DModel, Particle system (Shuriken), Light, UI elements, Shader (using Amplified Shader, etc.), and assets using PlayMaker.
You can use assets with animation and interactive features on Unity, assets with colored lights etc in STYLY.
If you would like to pursue a new way of expressing yourself, please challenge.
- 1 Necessary requirement
- 2 Types of uploadable assets
- 3 Download and import UNITY PLUGIN FOR STYLY
- 4 How to connect STYLY account and STYLY_Plugin
- 5 How to check the file size to be uploaded
- 6 How to upload prefabs from Unity to STYLY
- 7 How to upload whole Scene from Unity to STYLY
- 8 Use uploaded prefab with STYLY
Currently it supports the Unity version “Unity 2017.4.x” or earlier. In addition, make sure that the following components are installed.
- Windows Build Support (Installed by default if you are using Windows.)
- Mac Build Support (Installed by default if you are using Mac.)
- Android Build Support
- WebGL Build Support
- iOS Build Support
Types of uploadable assets
With the Unity Asset Uploader you can insert the following types of assets into STYLY.
- 3DModel (Those animated with Mecanim are also possible)
- Particle system（Shuriken）
- UI element
- Shader (things using Amplified Shader etc)
- Assets using PlayMaker
Even with these different assets, the upload process is the same. Save the asset you’d like to upload as a prefab and follow the descriptions in this tutorial.
Note: If the action you attached in PlayMaker does not work well on STYLY, please remove the cache on the browser once. Also, STYLY does not support script written in C #.
Download and import UNITY PLUGIN FOR STYLY
With UNITY PLUGIN FOR STYLY you can upload prefabricated on Unity to STYLY.
I will show you how to download UNITY PLUGIN FOR STYLY.
From the STYLY top screen menu, click the [DOWNLOAD] menu.
When you move to the DOWNLOAD page, click the [DOWNLOAD] button of UNITY PLUGIN FOR STYLY (BETA) and download it.
Once the download is complete, import UNITY PLUGIN FOR STYLY (BETA) into the Unity project.
Open the Unity project. Go to the [Assets] menu> [Import Package] menu and click the [Custom Package …] menu.
Select “STYLY.unitypackage” downloaded earlier and click the [Open (O)] button.
Leave all the checkboxes checked and click the Import button.
After import, [STYLY] is added to the menu, and it completes if [STYLY_Plugin] folder is created in Project.
How to connect STYLY account and STYLY_Plugin
You need to get the key of your own STYLY account API. I will show you how to obtain the API key.
STYLY Log in to WebEditor. Then select the API Key menu.
The API Key will be displayed, so copy it.
Go to the [STYLY] menu of the Unity project and click [Asset Uploader Settings].
In the Email form, enter the email address of the account.
Please paste the key you copied to API key.
Your STYLY account and STYLY_Plugin are now connected.
How to check the file size to be uploaded
I will show you how to check the file size of the prefab. For uploading, especially when the size is large, it will take a few minutes or more, so let’s check the file size of the prefab before uploading to STYLY.
To check the file size, right-click on the prefab you want to check and click the [STYLY]> [Check File Size] button. We recommend that you upload less than 20 MB of assets.
How to upload prefabs from Unity to STYLY
After checking the file size, let’s upload the prefabricated assets created by Unity to STYLY.
I will show you how to upload. Right-click the prefab you want to upload.
Click [STYLY]> [Build And Upload Prefab Asset]. The upload process is executed.
If the upload process is successful, a popup message [Upload succeeded.] Will be displayed, so click the [OK] button.
If an upload error is displayed, please inquire the detailed situation (action procedure and screen capture) where the error occurred as follows.
Error inquiries destination
How to upload whole Scene from Unity to STYLY
Use uploaded prefab with STYLY
I will show you how to confirm the uploaded prefab.
Open STYLY WebEditor. Next, click the Assets button and click the 3D Model button.
Finally, click the [My Models] menu. If there is a prefab uploaded to My Models, it is completed.