Use Collider Prefab Constructor

The idea behind this prefab is similar to the one explained in the 5.5. This script should be attached to prefabs that contain by themselves a collider that when triggered with specific gameobjects it triggers the Event Manager for the Action completion.

The difference here is that the gameobjects for the collision are type-unrestricted. Anything can be inserted for the collision acceptance.

Variable Name

Type

Description

Stay Time

float

Set the time needed for the collider to register a successful collision.

Prefabs Used

List of gameobjects

Insert any gameobject that the collider will await collision with.

Prefab Creation Requirements

  1. Rigidbody

  2. Trigger Collider