mycj_demo/mycj/Assets/Game/Scripts/Application/Misc/FBBat.cs

41 lines
1.0 KiB
C#
Raw Normal View History

2024-12-02 09:37:47 +08:00
// Felix-BangFBBat
//   へ     /|
//  /7    ∠_/
//  / │    
//  Z _,    /`ヽ
// │     ヽ   /  〉
//  Y     `  /  /
// イ● 、 ●  ⊂⊃〈  /
// ()  へ    | \〈
//  >ー 、_  ィ  │
//  / へ   / ノ<|
//  ヽ_ノ  (_  │//
//  7       |
//  ―r ̄ ̄`ー―_
// Describe蝙蝠的动画
// Createtime2018/9/25
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace FBApplication
{
public class FBBat : MonoBehaviour
{
public float Time = 1;
public float OffsetY = 8;
void Start()
{
iTween.MoveBy(gameObject, iTween.Hash(
"y", OffsetY,
"easeType", iTween.EaseType.easeInOutSine,
"loopType", iTween.LoopType.pingPong,
"time",Time ));
}
}
}