コード例 #1
0
 public void SetPictureColor(Color color, float intensity)
 {
     ClientUtils.ChangeColor(Picture, color, intensity);
     PictureColor          = color;
     PictureColorIntensity = intensity;
     Picture.size          = new Vector2(10.575f, 12.37f);
 }
コード例 #2
0
 public void ResetColor()
 {
     if (ClientPlayer == RoundManager.Instance.SelfClientPlayer)
     {
         ClientUtils.ChangeColor(My_Renderer, ClientUtils.GetColorFromColorDict(AllColors.ColorType.SelfMetalBarColor));
     }
     else
     {
         ClientUtils.ChangeColor(My_Renderer, ClientUtils.GetColorFromColorDict(AllColors.ColorType.EnemyMetalBarColor));
     }
 }
コード例 #3
0
    IEnumerator Co_ShowSideEffectBloom(Color color, float duration)
    {
        M_BloomSE.gameObject.SetActive(true);
        M_BloomSE_Sub.gameObject.SetActive(true);
        BloomSEAnim.SetTrigger("OnSE");
        BloomSE_SubAnim.SetTrigger("OnSE");
        ClientUtils.ChangeColor(M_BloomSE, color);
        ClientUtils.ChangeColor(M_BloomSE_Sub, color);
        AudioManager.Instance.SoundPlay("sfx/OnSE");
        yield return(new WaitForSeconds(duration * BattleEffectsManager.AnimationSpeed));

        BloomSEAnim.SetTrigger("Reset");
        BloomSE_SubAnim.SetTrigger("Reset");
        M_BloomSE.gameObject.SetActive(false);
        M_BloomSE_Sub.gameObject.SetActive(false);
        BattleEffectsManager.Instance.Effect_Main.EffectEnd();
    }
コード例 #4
0
 public void SetCardBloomColor(Color color, float intensity)
 {
     ClientUtils.ChangeColor(CardBloom, color, intensity);
     CardBackBloomColor          = color;
     CardBackBloomColorIntensity = intensity;
 }
コード例 #5
0
 protected override void ChangeColor(Color color)
 {
     ClientUtils.ChangeColor(MainBoardRenderer, color, MainBoardEmissionIntensity);
     ClientUtils.ChangeColor(M_Bloom, color, 2);
 }
コード例 #6
0
 protected override void BeBrightColor()
 {
     ClientUtils.ChangeColor(MainBoardRenderer, ClientUtils.HTMLColorToColor(CardInfo.GetCardColor()));
 }
コード例 #7
0
 public void ChangeLifeIconColor(Color color)
 {
     ClientUtils.ChangeColor(LifeIcon, color);
 }
コード例 #8
0
 public void Shine()
 {
     ClientUtils.ChangeColor(My_Renderer, ClientUtils.HTMLColorToColor("#FFFFFF"));
 }
コード例 #9
0
 public void SetSideEffectTriggerBloomColor(Color color, float intensity)
 {
     ClientUtils.ChangeColor(SideEffectTriggerBloom, color, intensity);
     SideEffectTriggerBloomColor          = color;
     SideEffectTriggerBloomColorIntensity = intensity;
 }
コード例 #10
0
 public void SetOnHoverBloomColor(Color color, float intensity = 1.0f)
 {
     ClientUtils.ChangeColor(OnHoverBloom, color, intensity);
     OnHoverBloomColor          = color;
     OnHoverBloomColorIntensity = intensity;
 }
コード例 #11
0
 public void SetCardDescBGColor(Color color)
 {
     ClientUtils.ChangeColor(CardDescBG, color);
 }