public void PlayAnim(int person, PawnEmote anim) { if (person >= 0 && person < positions.Length) { positions[person].PlayAnim(anim); } }
public void PlayAnim(PawnEmote anim) { Pawn p = GetPawn(); if (p) { p.PlayEmoteAnim(anim); } }
private string ValueForAnim(string value, bool responseMode, string argument) { PawnEmote anim = (PawnEmote)Convert.ToInt32(value); Debug.Log("ANIM ==== " + value + " " + responseMode + " " + argument + " " + anim); if (scene != null && responseMode == false) { scene.PlayAnim(currentNode.speaker, anim); } return(""); }