Near finish
This commit is contained in:
@@ -28,9 +28,10 @@ public class TweenHelper : MonoBehaviour
|
||||
transform.localScale = startScale;
|
||||
|
||||
}
|
||||
public bool intro = true;
|
||||
void Start()
|
||||
{
|
||||
Intro();
|
||||
if(intro)Intro();
|
||||
}
|
||||
|
||||
public void Intro(){
|
||||
@@ -76,6 +77,15 @@ public class TweenHelper : MonoBehaviour
|
||||
}
|
||||
|
||||
|
||||
public void MoveOut(){
|
||||
LeanTween.move(gameObject, defaultPos + new Vector3(10000,0), position_time).setEase(position_type);
|
||||
}
|
||||
|
||||
public void MoveIn(){
|
||||
LeanTween.move(gameObject,Vector3.zero, position_time).setEase(position_type);
|
||||
}
|
||||
|
||||
|
||||
public void OutroAll(){
|
||||
TweenManager.OutroAll();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user