Ejemplo n.º 1
0
 public void HeroResolveCheckOutro(FormationUnit unit, bool isHeroic)
 {
     unit.SetLayer(0);
     unit.SetSortingOrder(PartyFormationManager.ShowoffOrder - RaidSceneManager.RaidPanel.SelectedUnit.Rank);
     unit.DeleteTarget(0.1f);
     if (unit.CombatInfo.IsImmobilized)
     {
         unit.SetDefendAnimation(true);
     }
     if (isHeroic)
     {
         unit.SetHeroic(false);
     }
     else
     {
         unit.SetAfflicted(false);
     }
     if (unit.CurrentHalo != null)
     {
         unit.CurrentHalo.skeletonAnimation.MeshRenderer.enabled = true;
     }
 }
Ejemplo n.º 2
0
    public void HeroResolveCheckIntro(FormationUnit unit, bool isHeroic)
    {
        if (unit.CurrentHalo != null)
        {
            unit.CurrentHalo.skeletonAnimation.MeshRenderer.enabled = false;
        }

        unit.SetLayer(9);
        unit.SetSortingOrder(PartyFormationManager.ShowoffOrder);
        if (unit.CombatInfo.IsImmobilized)
        {
            unit.SetDefendAnimation(false);
        }
        if (isHeroic)
        {
            unit.SetHeroic(true);
        }
        else
        {
            unit.SetAfflicted(true);
        }
    }