public DialogPortraitAnim GetAnim() { if (__animtor == null) { __animtor = GetComponent <DialogPortraitAnim>(); } return(__animtor); }
public void PlayAnim(PortraitAnimClip[] anims) { if (anims == null || anims.Length < 1) { return; } if (__animtor == null) { __animtor = GetComponent <DialogPortraitAnim>(); } if (__animtor == null) { return; } __animtor.PlayAnims(anims); }