public void OnPointerEnter(PointerEventData eventData)
 {
     oriPart = emoteIndex.getPart(emotePartGroup.slotCategory);
     emoteIndex.setPart(emotePartGroup.slotCategory, part);
     character.ResetEmote();
     character.Emote(emotionType);
 }
示例#2
0
文件: UIEmote.cs 项目: TFM-AEIS/TFM
 void OnDisable()
 {
     if (character == null)
     {
         return;
     }
     character.ResetEmote();
     OpenPartMenu(emoteMenu[0].gameObject);
 }
示例#3
0
 // Apply emote to character
 public void Emote(int i)
 {
     if (i - 1 < 0)
     {
         characterViewer.ResetEmote();
     }
     else
     {
         characterViewer.Emote((EmotionType)i - 1);
     }
 }
示例#4
0
 void DefaultEmotion()
 {
     enkidu.ResetEmote();
 }
示例#5
0
 void DefaultEmotion()
 {
     shepherd.ResetEmote();
 }
示例#6
0
 void OnDisable()
 {
     character.ResetEmote();
     OpenPartMenu(emoteMenu[0].gameObject);
 }