This commit is contained in:
SoulliesOfficial
2026-01-03 18:19:39 -05:00
parent 3bcd7c1cf8
commit 33b1795c1f
7387 changed files with 2762819 additions and 716926 deletions

View File

@@ -1,36 +0,0 @@
/// ---------------------------------------------
/// Behavior Designer
/// Copyright (c) Opsive. All Rights Reserved.
/// https://www.opsive.com
/// ---------------------------------------------
namespace Opsive.BehaviorDesigner.Samples
{
using UnityEngine;
/// <summary>
/// Rotates the coin.
/// </summary>
public class Coin : MonoBehaviour
{
[Tooltip("The speed that the coin should rotate.")]
[SerializeField] protected Vector3 m_RotationSpeed;
private Transform m_Transform;
/// <summary>
/// Initializes the default values.
/// </summary>
private void Awake()
{
m_Transform = transform;
}
/// <summary>
/// Updates the Transform rotation.
/// </summary>
private void Update()
{
m_Transform.rotation *= Quaternion.Euler(m_RotationSpeed * Time.deltaTime);
}
}
}