Work
This commit is contained in:
12
Assets/Scripts/TitleJuice.cs
Normal file
12
Assets/Scripts/TitleJuice.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class TitleJuice : MonoBehaviour
|
||||
{
|
||||
void Start()
|
||||
{
|
||||
// Scale the gameobject to 2.0 in 1.5 seconds
|
||||
iTween.ScaleTo(gameObject, iTween.Hash("x", 1.2, "y", 1.2, "time", 1.5, "looptype", "pingpong", "easetype", iTween.EaseType.easeInOutQuad));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user