Colorful animated and interactive loot box presents.
Drag and drop present prefabs into your project and press Play!
Demo scene included.
PC and mobile friendly.
Easter, Christmas, Valentine, Halloween and Stripes themes.
Animated present boxes with 3 different shapes and bows.
123 present prefabs, 41 paper and 29 ribbon PBR materials.
13 particle effects prefabs.
Scripted playback for animation, player interactions, particles and contained items.
Supports Unity 2018.4 Standard.
No external package required.
Demo
A demo scene with animated and interactive presents, animated camera, a 3d coin (inside a present), a ground model covered in snow and a Christmas themed sky-box are all included.
Present Boxes
There are 3 boxes included : square, rectangular and cylinder shaped.
There are also 3 bow decorations for the top of the box, those are separate meshes and can easily be swapped.
Each present prefabs is assigned materials based on different themes.
Present Animator Script
The “Present animator” script is used to handle each present’s interaction, animation, particles and contained items.
The following interactions can be toggled on/off for each present:
- “Mouse-over”
- “Click” (or Tap)
- “Close back”
The default “Idle” state cannot be turned off.
Each state can be assigned an animation and multiple particle effects “FX”.
FX can be set to pre-load (instantiated on Start), looped and they can be played after a delay.
The Close back interaction can be set as auto with a delay (the present will close on its own after the delay) or by click/tap.
Multiple “Contained items” can be added to the present, those will be revealed when the present is opened (by using the “Open” or “Explode” animations) Contained items are set to pre-load by default.
Finally, public callbacks are available for the Idle, Mouse over, Opening and Closing states.
This means that your own methods can be called on a specific present's state.
Please see the CallbackShowcase.cs script (assigned to "Present_B_13" in the demo scene) for an example on how to use this.
Animations
Each present comes with the following animations:
- Idle – no motion
- Breath – the present softly deforms mimicking a breathing motion
- Jump – bounces in place
- Open – pops open instantly
- Explode – the box shakes rapidly then suddenly opens
Triangle count
- Present A – square box – 726 triangles
- Present B – rectangular box – 658 triangles
- Present C – cylinder box – 1360 triangles
- Bow A – 720 triangles
- Bow B – 372 triangles
- Bow C – 660 triangles
Materials
Materials are all Unity’s Standard PBR material (Metallic/Roughness).
The paper and the ribbon/bow are using separate materials which allow to combine any paper with any ribbon/bow material.
Textures
Papper and ribbon's textures are all 1024*1024 pixels and tile-able.
FX textures range from 512*512 to 1024*1024 and 512*2048 pixels.
The ground snow textures are 128*128 pixels and tile-able.
The sky-box texture is 5460*2730 pixels and tile-able in one direction.
Particle Effects
The “Confetti Glitter” and “Confetti Streamer” particle effects are both using animated textures.
The “Explosion” and “Sparkles” are both standard particle effects.
There are 13 particle effects prefabs:
- FX_Absorb_Glitter
- FX_Absorb_Sparkle
- FX_Absorb_Streamer
- FX_Explode
- FX_Explode_Glitter
- FX_Explode_Sparkle
- FX_Explode_Streamer
- FX_Fall_Glitter
- FX_Fall_Sparkle
- FX_Fall_Streamer
- FX_Float_Glitter
- FX_Float_Sparkle
- FX_Float_Streamer
五颜六色的动画和交互式战利品箱礼物。
将礼物预制件拖放到项目中,然后按 "播放"!
包含演示场景。
支持电脑和手机。
复活节、圣诞节、情人节、万圣节和条纹主题。
3 种不同形状和蝴蝶结的动画礼物盒。
123 种礼物预制件、41 种纸张和 29 种丝带 PBR 材质。
13 个粒子效果预制件。
为动画、玩家互动、粒子和包含的物品提供脚本回放。
支持 Unity 2018.4 标准版。
无需外部软件包。
演示场景
演示场景中包含动画和互动礼物、动画摄像头、3D 硬币(在礼物内)、覆盖着积雪的地面模型和以圣诞节为主题的天空盒。
礼物盒
包含 3 个盒子:正方形、长方形和圆柱形。
盒子顶部还有 3 个蝴蝶结装饰,这些都是独立的网格,可以轻松交换。
每个礼物预制件都根据不同的主题分配了材料。
礼物动画脚本
礼物动画师 "脚本用于处理每个礼物的交互、动画、粒子和包含的物品。
可为每个演示程序切换开/关以下交互:
- 鼠标悬停
- 点击
- 向后关闭
默认的 "闲置 "状态无法关闭。
每个状态都可以分配一个动画和多个粒子特效 "FX"。
特效可以设置为预加载(在 "开始 "时实例化)、循环播放,也可以在延迟后播放。
|