mob-sakai / UIEffect

UIEffect is an effect component for uGUI element in Unity. Let's decorate your UI with effects!
https://github.com/mob-sakai/UIEffect
MIT License
5.57k stars 770 forks source link

[Help] No "EffectPlayer" in Script. #215

Closed chaosren closed 3 years ago

chaosren commented 4 years ago

hi~ How can I set my UIShiny to loop in my script? there is no other params can let me find EffectPlayer and Set it. My UIshiny just play once and stop。 I just want to loop it .

I know its working in Editor AddComponent。 But my project need to controll effect in script. so I cant find way to Set EffectPlayer

help me plz and thx ur hardwork.

image

image

image

mob-sakai commented 4 years ago

@chaosren This seems to be an issue about UIEffect. Shall I transfer this issue?

mob-sakai commented 4 years ago

ref: https://github.com/mob-sakai/UIEffect/issues/214

chaosren commented 4 years ago

@mob-sakai thx for ur relpy 。I will waiting for next version to fix it。hope it's quick。~

chaosren commented 4 years ago

@mob-sakai sorry for the wrong issues place。I should post this issuse under UIEffect Git。 Hope there is any solution for my problem。

github-actions[bot] commented 4 years ago

:tada: This issue has been resolved in version 4.0.0-preview.8 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

chaosren commented 4 years ago

@mob-sakai thx for ur hardwork 。~ LOL~

chaosren commented 4 years ago

@mob-sakai hi ! after update to #4.0.0-preview.8 , Istill cant find EffectPlayer in my scripts. why? namespace is change yet. but there is no effectPlayer I can get or set. is it still private in UIEffect.dll ?? or there is any other way that can let me use effectplayer control my uieffect in script?

sorry for bother you twice about this question~

image

image shows UIEffect path in my project~

mob-sakai commented 4 years ago

@chaosren Thanks, I noticed my mistake!

github-actions[bot] commented 4 years ago

:tada: This issue has been resolved in version 4.0.0-preview.9 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

chaosren commented 4 years ago

@mob-sakai thx again .I will try it later~