22 lines
445 B
C#
22 lines
445 B
C#
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 () {
|
|
|
|
}
|
|
}
|