public void OnPointerEnter(PointerEventData eventData) { oriPart = emoteIndex.getPart(emotePartGroup.slotCategory); emoteIndex.setPart(emotePartGroup.slotCategory, part); character.ResetEmote(); character.Emote(emotionType); }
void OnDisable() { if (character == null) { return; } character.ResetEmote(); OpenPartMenu(emoteMenu[0].gameObject); }
// Apply emote to character public void Emote(int i) { if (i - 1 < 0) { characterViewer.ResetEmote(); } else { characterViewer.Emote((EmotionType)i - 1); } }
void DefaultEmotion() { enkidu.ResetEmote(); }
void DefaultEmotion() { shepherd.ResetEmote(); }
void OnDisable() { character.ResetEmote(); OpenPartMenu(emoteMenu[0].gameObject); }