Esempio n. 1
0
 public DialogPortraitAnim GetAnim()
 {
     if (__animtor == null)
     {
         __animtor = GetComponent <DialogPortraitAnim>();
     }
     return(__animtor);
 }
Esempio n. 2
0
        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);
        }