init
This commit is contained in:
commit
341a877b4a
2338 changed files with 1346408 additions and 0 deletions
21
Assets/LeanTween/Examples/Archived/TestingRigidbodyCS.cs
Normal file
21
Assets/LeanTween/Examples/Archived/TestingRigidbodyCS.cs
Normal file
|
@ -0,0 +1,21 @@
|
|||
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 () {
|
||||
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue