Skip to content

Instantly share code, notes, and snippets.

@reidscarboro
reidscarboro / LoadingDots.cs
Created May 10, 2017 13:29
Bouncing loading dots in Unity using DoTween
using System.Collections.Generic;
using UnityEngine;
using DG.Tweening;
public class LoadingDots : MonoBehaviour {
//the total time of the animation
public float repeatTime = 1;
//the time for a dot to bounce up and come back down