public void SetPictureColor(Color color, float intensity) { ClientUtils.ChangeColor(Picture, color, intensity); PictureColor = color; PictureColorIntensity = intensity; Picture.size = new Vector2(10.575f, 12.37f); }
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)); } }
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(); }
public void SetCardBloomColor(Color color, float intensity) { ClientUtils.ChangeColor(CardBloom, color, intensity); CardBackBloomColor = color; CardBackBloomColorIntensity = intensity; }
protected override void ChangeColor(Color color) { ClientUtils.ChangeColor(MainBoardRenderer, color, MainBoardEmissionIntensity); ClientUtils.ChangeColor(M_Bloom, color, 2); }
protected override void BeBrightColor() { ClientUtils.ChangeColor(MainBoardRenderer, ClientUtils.HTMLColorToColor(CardInfo.GetCardColor())); }
public void ChangeLifeIconColor(Color color) { ClientUtils.ChangeColor(LifeIcon, color); }
public void Shine() { ClientUtils.ChangeColor(My_Renderer, ClientUtils.HTMLColorToColor("#FFFFFF")); }
public void SetSideEffectTriggerBloomColor(Color color, float intensity) { ClientUtils.ChangeColor(SideEffectTriggerBloom, color, intensity); SideEffectTriggerBloomColor = color; SideEffectTriggerBloomColorIntensity = intensity; }
public void SetOnHoverBloomColor(Color color, float intensity = 1.0f) { ClientUtils.ChangeColor(OnHoverBloom, color, intensity); OnHoverBloomColor = color; OnHoverBloomColorIntensity = intensity; }
public void SetCardDescBGColor(Color color) { ClientUtils.ChangeColor(CardDescBG, color); }