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

41 lines
1.0 KiB
C#
Raw Normal View History

2024-12-02 09:37:47 +08:00
// Felix-BangFBCloud
//   へ     /|
//  /7    ∠_/
//  / │    
//  Z _,    /`ヽ
// │     ヽ   /  〉
//  Y     `  /  /
// イ● 、 ●  ⊂⊃〈  /
// ()  へ    | \〈
//  >ー 、_  ィ  │
//  / へ   / ノ<|
//  ヽ_ノ  (_  │//
//  7       |
//  ―r ̄ ̄`ー―_
// Describe
// Createtime2018/9/25
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace FBApplication
{
public class FBCloud : MonoBehaviour
{
public float OffsetX = 1000;
public float Duration = 10;
void Start()
{
iTween.MoveBy(gameObject, iTween.Hash(
"x", OffsetX,
"easeType", iTween.EaseType.linear,
"loopType", iTween.LoopType.loop,
"time", Duration));
}
}
}