-
Notifications
You must be signed in to change notification settings - Fork 1
Asset Prefabs
JA-Dempsey edited this page Aug 8, 2023
·
14 revisions
Asset prefabs refer to prefabs that use assets to create some visual object in the game such as actual enemies, powerups, debris (excluding UI).

The bunker, or shield, represents a shield that a player can create to protect themselves against projectiles from the enemies.

| Name | Description |
|---|---|
| Health | The number of hits the barrier can take |
| Explosion | The explosion prefab/asset/game object to use when shield destroyed |
| Explosion_scale | Scale of the explosion (size) |
| Destroy Trigger | Forces destruction of shield. For testing |
| Audio Data | Sound for the prefab |
Contains the Particle System and Sound information for an explosion. Changing options here would change the look and sounds of things.

| Name | Description |
|---|---|
| Health | Health for the projectile |
| Explosion | Asset to use when projectile destroyed as explosion |
| Explosion_scale | Size of explosion |
| Destroy Trigger | Force destruction of projectile |
| Enable Fade | Enables fade for the explosion |
| Audio Data | Audio for the explosion |
Simple script that will force the game object to look at the Selected Target Object (Player)

| Name | Description |
|---|---|
| Delay | Delay before shooting |
| Projectile Prefab | Projectile to fire |
| Over Write Speed | Use given speed rather than default |
| Projectile Speed | The speed to use for projectile |
An array of prefabs for enemies to spawn. Also prefabs.

| Name | Description |
|---|---|
| Target | Target to close in on |
| Velocity | Speed of movement toward target |
| Sideways Velocity | Side to side movement velocity |
| Cross Velocity | Velocity for cross movements |
| Distance | Length of distance vector |
The targeting system for enemies.
| Name | Description |
|---|---|
| Target Color | Color for the indicators |
| Need Box Indicator | Whether to use box indicator around enemy |
| Need Arrow Indicator | Whether to use arrow indicator pointing to enemy |
| Need Distance Text | Text showing distance to enemy |