public class EnergySwordMotionBlur

Inherits MonoBehaviour

Controls the energy sword trail

Nested types

EnergySwordMotionBlur.Node

Fields

public MeshRenderer MeshRenderer

[SkipSerialisation]

Reference to the MeshRenderer that will be used


public MeshFilter MeshFilter

[SkipSerialisation]

Reference to the MeshFilter that will be used


public float Life

[SkipSerialisation]

The length of the trail


public float MinDistance

[SkipSerialisation]

The minimum distance the blade needs to move in order to create a new node


public Rigidbody2D Rigidbody

[SkipSerialisation]

Reference to the relevant rigidbody


public Transform B

[SkipSerialisation]

The two transforms that indicate the line segment that needs to have a trail following it


public Gradient ColorOverMesh

[SkipSerialisation]

The colour of the mesh over the length


Attention!

This member is obsolete and should not be used. It is a remnant from the past.

bi bij bibi