123456789101112131415161718192021222324 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- public class CharacterCustomizeMenu : MonoBehaviour
- {
- public CharacterCustomizer character;
- public EnumSelect bodySelector;
- void Start()
- {
- bodySelector.OnValueChanged.AddListener(OnBodyChanged);
- }
- // Update is called once per frame
- void Update()
- {
-
- }
- void OnBodyChanged(){
- character.ChangeCharacter(bodySelector.value);
- }
- }
|