18 lines
318 B
C#
18 lines
318 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
namespace Raygeas
|
|
{
|
|
|
|
public class CloudMover : MonoBehaviour
|
|
{
|
|
[SerializeField] private float speed = 0.1f;
|
|
|
|
void Update()
|
|
{
|
|
transform.Translate(speed * Time.deltaTime, 0, 0);
|
|
}
|
|
}
|
|
}
|