rabidus-test/Assets/LeanTween/Examples/Archived/TestingRigidbodyCS.cs

22 lines
445 B
C#
Raw Normal View History

2023-07-24 16:38:13 +03:00
using UnityEngine;
using System.Collections;
using DentedPixel;
public class TestingRigidbodyCS : MonoBehaviour {
private GameObject ball1;
// Use this for initialization
void Start () {
ball1 = GameObject.Find("Sphere1");
LeanTween.rotateAround( ball1, Vector3.forward, -90f, 1.0f);
LeanTween.move( ball1, new Vector3(2f,0f,7f), 1.0f).setDelay(1.0f).setRepeat(-1);
}
// Update is called once per frame
void Update () {
}
}