Esempio n. 1
0
 public override void OnEnter()
 {
     base.OnEnter();
     NovelTextManager.SayDialogId(textId.Value, () =>
     {
         Finish();
     });
     if (nameId.Value < 0)
     {
     }
     else
     {
         NovelTextManager.SetSayName(nameId.Value);
     }
 }
Esempio n. 2
0
        public override void OnEnter()
        {
            base.OnEnter();

            m_role = NovelRoleManager.GetRole(Role_name) as NovelSpineRole;
            NovelRoleManager.SetRoleLocation(Role_name, Role_location);

            m_role.Role_expression = Role_expression;
            if (IsSetDialogName.Value)
            {
                NovelTextManager.SetSayName(m_role.Role_Row.nameid);
            }

            if (IsWaitForActionFinish.Value)
            {
                m_role.skeletonAnimation.AnimationState.Complete += CompleteAnim;
            }
            else
            {
                Parallel_Finish = true;
            }
        }