sfx wip
This commit is contained in:
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 () {
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user