예제 #1
0
        private IEnumerator TurnShopkeeperGreyCR(FakeGameActorEffectHandler effectHandler)
        {
            effectHandler.RegisterOverrideColor(Color.grey, "AegisShield");
            yield return(new WaitForSeconds(15f));

            effectHandler.DeregisterOverrideColor("AegisShield");
        }
예제 #2
0
        private void TurnShopkeeperGrey(BaseShopController shop)
        {
            FakeGameActorEffectHandler effectHandler = shop.GetComponentInChildren <FakeGameActorEffectHandler>();

            if (effectHandler)
            {
                effectHandler.StartCoroutine(this.TurnShopkeeperGreyCR(effectHandler));
            }
        }