HEOActivity
HEOActivity is a component for setting activities.
The "Activity" in Vket Cloud is a feature for wrapping models and scripts as a single Item, aimed for easy placement and implementation on worlds.
Basic Settings
Label | Function |
---|---|
World Position | Sets the position for placing the activity. |
World Rotation | Sets the rotation for placing the activity. |
Scene Preview | Creates a preview object of the designated activity in Scene. |
.json | Designates the json file containing the activity information. |
Overrides | Edits the settings in each activity. |
About Scene Preview
When enabling Scene Preview
, a preview object of the activity will be created in Scene, which position / size / rotation can be altered.
However, the edits will be reverted on build, and Transform values of object with HEOActivity will be referred instead.
Advanced Settings
Label | Function |
---|---|
Auto Loading | When enabled, this Item will be loaded automatically on world entrance. As this Item must be explicitly loaded when Auto Loading is disabled, use Dynamic Loading or use Load() on HeliScript. |
Item Render Priority | Designates the Item's render priority. For details, refer to RenderingSettings / Priority List |
Creating your own Activity
On SDK Ver12.x and later versions, a tool has been added to create/export your own Activity.
For details, please see VKC Activity Exporter.
How to Download Activity
The Vket Cloud Activity can be downloaded from the asset store.
The asset store can be accessed by selecting "Asset Store" in the Vket Cloud MyPage after login.
For details on how to use the asset store, refer to the manual page below. (English Version WIP) Gimmicks and Features ready to use! How to use the Vket Cloud Asset Store and Activities
How to Use
For example, the analog clock activity from the asset store is used here.
For details on how to get the activity data, refer to the manual which is referred later.
1. Unzip the downloaded Activity file. As unzipping instructions varies among OS, please use the method on your preference.
2. Check the file contents, and make sure to read the README before use.
3. Read the README's articles, especially the "Activity Settings" which contains the parameters for customizing the activity.
4. Move the unzipped analogclock folder to the Unity project with the VketCloudSDK installed. Folder position within the Assets is at your choice.
5. In an empty scene, place the essential components by right clicking and selecting "Add Essential Objects for Vket Cloud", and create an empty object for setting the activity.
6. Change the object name to AnalogClock or other names. (Avoid name conflicting with other objects.)
7. Attach the HEOActivity component to the AnalogClock object.
8. Set the activity\analogclock\AnalogClockActivity.json
to the HEOActivity's json setting.
9. Set a value for "useSecondHand" in HEOActivity's overrides. For details on the settings, refer to the "Activity Settings".
10. As the analog clock will appear on the object origin, adjust the placement position via Transform.
11. Build and see if the analog clock appears.