-
Notifications
You must be signed in to change notification settings - Fork 352
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Small Fixes :) #144
base: develop
Are you sure you want to change the base?
Small Fixes :) #144
Conversation
Fixed an issue with Path.cs possible 'Division by zero' error
Fixed compiler warning error 'Possible null reference'
Added 'Comparisons should be use 'Epsilon' value. Like : Math.Abs(A - B) < Epsilon' notice :)
Fixed operator priority with missing parentheses A forgotten switch-case was added
Checked, everything seems up-to-date with 'develop' branch.. There is no critical situation. |
Hey Furkan! That is great :) Give me a couple days to review the changes though, I'm in momentary panic now (annual taxes period here, much more than expected) and can't focus on this :P |
Taxes are important. :) Thank you for your interest. We love Dotween. <3 |
Update from original
Here I am (damn taxes! I mean, I totally approve taxes, except when they ask me to pay more than what I earned by jove :P). Let's talk about the pull request, and thanks for the nice words :) EaseManager.cs TweenManager.cs Path.cs
Vector3ArrayPlugin.cs This is my humble opinion, but I don't pretende to be right, so let me know what you think and let's discuss :) Cheers! |
Hey ! :) (P.S : Sorry for my awesome english (: ) Maybe I can do better things next time! :) Thank you for your time to me! |
Nono are you joking, you did great! I love that you suggested changes, and this was an interesting chat :) About the division by 0, I thought about that. That would happen only if a user decides to pass a path resolution of 0. Since that makes no sense, I'm happy to throw him an error. But you're right, I should maybe capture that instead and just set the resolution to 1 automatically. I will change this! But what do you think would be best? Log a clear-er error that says "resolution must be at least 1", or capture it and set it to 1 behind the scenes? |
Thank you so much ! :) I think the best way is you should threw an exception. If "safemode" enabled, you could set it to 1. Best regards... :) |
It includes some simple bug fixes & additionals.
Good Luck :)