您最多选择25个主题 主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

21 行
533 B

using UnityEngine;
using UnityEngine.UI;
namespace Unity.Multiplayer.Samples.BossRoom.Visual
{
/// <summary>
/// A Temporary animation script that rotates the image on the game
/// </summary>
[RequireComponent(typeof(Image))]
public class ConnectionAnimation : MonoBehaviour
{
[SerializeField]
private float m_RotationSpeed;
void Update()
{
transform.Rotate(new Vector3(0, 0, m_RotationSpeed * Mathf.PI * Time.deltaTime));
}
}
}