// Copyright (c) Meta Platforms, Inc. and affiliates.
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Lofelt.NiceVibrations
{
///
/// A minimal, demo only class, used to rotate an image in the demo's UI
///
public class HapticClipsDemoRotator : MonoBehaviour
{
/// the speed at which the image should rotate
public Vector3 RotationSpeed = new Vector3(0, 0, 100f);
///
/// On Update we rotate our image
///
protected void Update()
{
this.transform.Rotate(RotationSpeed * Time.deltaTime, Space.Self);
}
}
}