Cleaned up a bit
This commit is contained in:
@@ -7,11 +7,9 @@ public class GlowOutline : ManagedBehaviour
|
||||
{
|
||||
|
||||
private SpriteRenderer parentSprite;
|
||||
private SpriteRenderer outlineSprite;
|
||||
private Color outlineColor;
|
||||
private Transform[] childrenTransforms;
|
||||
private SpriteRenderer[] childrenSprites;
|
||||
private Material[] childrenMaterials;
|
||||
private List<GlowOutlineData> outlineColors;
|
||||
|
||||
public float thiccness;
|
||||
@@ -30,7 +28,6 @@ public class GlowOutline : ManagedBehaviour
|
||||
{
|
||||
// Get references to item sprite, own sprite and the outline settings from Interaction Settings
|
||||
outlineColors = SettingsAccess.GetInteractionOutlineColors();
|
||||
outlineSprite = GetComponent<SpriteRenderer>();
|
||||
|
||||
// Get the transforms and spriterenderers of children
|
||||
childrenTransforms = GetComponentsInChildren<Transform>();
|
||||
|
||||
Reference in New Issue
Block a user