Channeled Object Script

A channeled object script is attached to a prefab that should be used as a lightning bolt that travels from the caster to the target while channeling an ability.

Properties

Dependencies

  • A line renderer must be attached to the same prefab, using a material with a sprite sheet of a lightning bolt.

  • If Start Object and End Object are used, the prefab should have 2 gameobjects as children (with no components on them) that will serve as the start and end point of the lightning bolt.

Last updated