private IEnumerator TurnShopkeeperGreyCR(FakeGameActorEffectHandler effectHandler) { effectHandler.RegisterOverrideColor(Color.grey, "AegisShield"); yield return(new WaitForSeconds(15f)); effectHandler.DeregisterOverrideColor("AegisShield"); }
private void TurnShopkeeperGrey(BaseShopController shop) { FakeGameActorEffectHandler effectHandler = shop.GetComponentInChildren <FakeGameActorEffectHandler>(); if (effectHandler) { effectHandler.StartCoroutine(this.TurnShopkeeperGreyCR(effectHandler)); } }