enemy spawner

This commit is contained in:
2025-10-26 14:17:31 +01:00
parent 20d3b46834
commit 40a62b5b5a
2102 changed files with 1255290 additions and 70 deletions

View File

@@ -0,0 +1,21 @@
//--------------------------------------------------------------------------------------------------------------------------------
// Cartoon FX
// (c) 2012-2025 Jean Moreno
//--------------------------------------------------------------------------------------------------------------------------------
using UnityEngine;
namespace CartoonFX
{
public class CFXR_Demo_Rotate : MonoBehaviour
{
public Vector3 axis = new Vector3(0,1,0);
public Vector3 center;
public float speed = 1.0f;
void Update()
{
this.transform.RotateAround(center, axis, speed * Time.deltaTime);
}
}
}