2026-07-08 유나 프로토타입버전 추가
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
|
||||
namespace Bozo.AnimeCharacters
|
||||
{
|
||||
public class OutfitHeightChange : MonoBehaviour
|
||||
{
|
||||
[SerializeField] float HeightOffset;
|
||||
private void OnEnable()
|
||||
{
|
||||
var System = GetComponentInParent<OutfitSystem>();
|
||||
if (System == null) return;
|
||||
|
||||
System.SetHeight(HeightOffset);
|
||||
}
|
||||
|
||||
private void OnDisable()
|
||||
{
|
||||
var System = GetComponentInParent<OutfitSystem>();
|
||||
if (System == null) return;
|
||||
|
||||
System.SetHeight(0);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user