Ejemplo n.º 1
0
        public override void OnEnter()
        {
            base.OnEnter();
            m_role = NovelRoleManager.GetRole(Role_name) as NovelSpineRole;
            if (IsShow.Value)
            {
                NovelRoleManager.SetRoleLocation(Role_name, Role_location);
                //m_role.Show(Role_location);
            }
            else
            {
                m_role.Hide();
            }

            Finish();
        }
Ejemplo 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;
            }
        }