You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
445 B

7 years ago
  1. using UnityEngine;
  2. using System.Collections;
  3. using DentedPixel;
  4. public class TestingRigidbodyCS : MonoBehaviour {
  5. private GameObject ball1;
  6. // Use this for initialization
  7. void Start () {
  8. ball1 = GameObject.Find("Sphere1");
  9. LeanTween.rotateAround( ball1, Vector3.forward, -90f, 1.0f);
  10. LeanTween.move( ball1, new Vector3(2f,0f,7f), 1.0f).setDelay(1.0f).setRepeat(-1);
  11. }
  12. // Update is called once per frame
  13. void Update () {
  14. }
  15. }