blob: 2f5dbe98b98f68d5d26eb79d9c899af13733d910 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
using System;
using UnityEngine;
public class CourseStarBehaviour : MonoBehaviour
{
public SpriteRenderer Upper;
public SpriteRenderer Lower;
public float Speed = 30f;
public void Update()
{
this.Upper.transform.Rotate(0f, 0f, Time.deltaTime * this.Speed);
this.Lower.transform.Rotate(0f, 0f, Time.deltaTime * this.Speed);
}
}
|