Fixed pantsless worker anims

This commit is contained in:
journaliciouz
2025-12-13 18:16:49 +01:00
parent a83e4e7cef
commit dd7eeea6db
27 changed files with 1659 additions and 110 deletions

View File

@@ -17,6 +17,7 @@ public class GlowOutline : ManagedBehaviour
public float thiccness;
public GlowOutlineData.InteractionType interactionType;
public bool animatedSprite;
public Material outlineMaterial;
@@ -35,7 +36,6 @@ public class GlowOutline : ManagedBehaviour
// Get the transforms and spriterenderers of children
childrenTransforms = GetComponentsInChildren<Transform>();
childrenSprites = GetComponentsInChildren<SpriteRenderer>();
// childrenMaterials = GetComponentsInChildren<Material>();
// Set the color to use in this outline from the colors set in Interaction Settings
foreach (GlowOutlineData data in outlineColors)
@@ -59,6 +59,7 @@ public class GlowOutline : ManagedBehaviour
if (itemSprite.sprite != null)
{
childSprite.sprite = itemSprite.sprite;
childSprite.material = outlineMaterial;
}
if (childSprite.sharedMaterial != null)