//ルール画像つきのフェードイン(オブジェクト単位にかけるのでテクスチャ描き込み効果なし) public virtual void RuleFadeIn(AdvEngine engine, AdvTransitionArgs data, Action onComplete) { UguiTransition transition = this.gameObject.AddComponent <UguiTransition>(); transition.RuleFadeIn( engine.EffectManager.FindRuleTexture(data.TextureName), data.Vague, false, data.GetSkippedTime(engine), () => { transition.RemoveComponentMySelf(false); if (onComplete != null) { onComplete(); } }); }
//ルール画像つきのフェードイン public override void RuleFadeIn(AdvEngine engine, AdvTransitionArgs data, Action onComplete) { UguiTransition transition = this.gameObject.AddComponent <UguiTransition>(); transition.UnscaledTime = Engine.Time.Unscaled; transition.RuleFadeIn( engine.EffectManager.FindRuleTexture(data.TextureName), data.Vague, RenderTextureSpace.RenderTextureType == AdvRenderTextureMode.Image, data.GetSkippedTime(engine), () => { transition.RemoveComponentMySelf(false); if (onComplete != null) { onComplete(); } }); }