feat: add initial People Playground mod development kit
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
URL: https://wiki.studiominus.nl/internalReference/EnergySwordMotionBlur.html
|
||||
Title: People Playground Modding - EnergySwordMotionBlur
|
||||
==================================================
|
||||
|
||||
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
|
||||
|
||||
public bool SendToBottomLayer
|
||||
[Space]
|
||||
Puts the blur mesh into the bottom sorting layer
|
||||
|
||||
public bool MakeBottomColorTransparent
|
||||
Makes the bottom colors of the mesh transparent. I added this for the sword. I hate this.
|
||||
Reference in New Issue
Block a user