Files
AppleHillsProduction/Assets/Scripts/StateMachines/CementFactory/MissingPartVisualBehavior.cs

23 lines
462 B
C#

using UnityEngine;
using DG.Tweening;
public class MissingPartVisualBehavior : MonoBehaviour
{
public float targetScale;
public float scaleDuration;
// Start is called once before the first execution of Update after the MonoBehaviour is created
void Start()
{
transform.DOScale(targetScale, scaleDuration).SetLoops(-1, LoopType.Yoyo);
}
// Update is called once per frame
void Update()
{
}
}