건설 모드 UI가 클릭되어 건설되지 않는 문제 수정 JMO Asset 위치 조정 Tower, Monster, Creep의 Hit/Destroy FX Prefab 설정 (Template Level) Tower에 체력바 추가 (최초 건설 시, 체력 변경 시 등장) Tower 관련 디버깅 로그 정리 건설 토대의 사이즈가 비정상적인 문제 수정
21 lines
598 B
C#
21 lines
598 B
C#
//--------------------------------------------------------------------------------------------------------------------------------
|
|
// 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);
|
|
}
|
|
}
|
|
} |