Comments (7)
Documentation here.
from juce-feedbacks.
Awesome, man. Thanks for the quick work. :D This will definitely help for more complex state control with my many UI elements.
An unrelated aside: Sorry to see the weird anti-open source haters that seem to be following you around. If open source alternatives to commercial projects were somehow a bad thing, the entire scene wouldn't exist. Thanks again for the hard work.
from juce-feedbacks.
Thanks for contributing to Juce-Feedbacks' first issue
from juce-feedbacks.
Hey @digiwombat, first of all, thanks for reaching out, I'm glad you like the tool :D
On the feature request, It actually sounds like a very cool idea, that I did not thought about (since I always use direct references for almost everything), but your approach could be very useful on certain situations, or for people that don't like using direct references.
I like the example that you proposed, but what would you think about, instead of doing FeedbacksManager.Instance.PlayFeedbacks("ShowUI");
we do FeedbacksManager.Instance.GetFeedback("ShowUI").Play();
? That way you can use directly all the functionality of the component, without relying on a generic function.
I will start working on this asap, and I will probably have this ready in 6-7 days.
from juce-feedbacks.
I also added a new category on the README.md with upcoming features.
from juce-feedbacks.
As the development of the request was very small, the feature is already here ready to use. A new version was also submitted to the AssetStore, and will ve available on the following 1-2 days. The documentation for this is still not ready, but if you want to try this out:
Select the new toggle on any FeedbacksPlayer named Used By Script, and set the id that you want
Then on the code, just do: (while using namespace Juce.Feedbacks)
FeedbacksPlayer player = JuceFeedbacks.GetFeedbacksPlayer(id);
or
bool found = JuceFeedbacks.TryGetFeedbacksPlayer(id, out player))
to get the FeedbacksPlayer component
and finally
player.Play();
Keep in mind that if you don't select the toggle Used By Script, you won't be able to get the FeedbacksPlayer from the code.
from juce-feedbacks.
No problem! I hope you find it useful :)
I don't think there are any haters, I already recieved threats from the creator of MMFeedbacks, and my guess is that he's the only one sending me bad comments/reviews. But in the end, I really don't mind.
I'm closing this, since it's already resolved. If you find an issue or an improvement, you can open another issue.
Thank you very much for the contribution and the thoughts :)
from juce-feedbacks.
Related Issues (15)
- [Feature Request] Duplicate Feedback
- [Feature Request] Play Feedbacks in Edit Mode HOT 1
- Spelling Errors in UI
- AnchoredPosition and Position Feedbacks Show Wrong Value for Start Position
- A Feedback for tweening RectTransform Anchors HOT 7
- Make Target Settable in FeedbacksPlayerPlayFeedback HOT 3
- Option to Use UnscaledDeltaTime HOT 2
- Contributions and package distribution HOT 4
- TextMeshProTextFeedback missing set value
- When I Complete a FeedbacksPlayer, it doesn't go to the end state. HOT 1
- When I Complete a FeedbacksPlayer, it doesn't go to the end state.
- Missing scripts in example content HOT 2
- FeedbacksPlayer custom component icon missing HOT 2
- Version mismatched HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from juce-feedbacks.