-
Notifications
You must be signed in to change notification settings - Fork 11
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
The state machines does not work in this version. #81
Comments
Hi, does this also happen with the v0.2.1 release? |
i used urp pipeline, it's looks like v0.2.1 does not support urp? |
Ohh I see! When using the RivePanel and RiveWidget, you no longer need to call In your script, you can take a reference to the rive widget:
In your current script, you're creating a new state machine rather than using the reference in the widget, so you won't be able to see any changes because they're being applied to a different statemachine. We will have documentation available for the RivePanel and RiveWidget this week. |
Are you able to share the If you don't want to share it publicly, you can also send it to us privately here. |
Perfect, it's works now. thanks for your help. |
I had send You a .riv file by the privately link (RIV-7607). At the beginning i want use a shader to fix this problem as before, but in this version it' not easy to apply that. |
This will be available here later this week Regarding the outline issue, is this what you're referring to (the dark lines around the finger edges): |
Yes, how can i solve this problem? |
"rive version": "0.3.1-canary.26"
"unity version:" "2022.3.49f1c1"
`private void SetValue(string numberName, int num)
{
var mStateMachine = m_rive_file.Artboard.StateMachine(0);
var input = mStateMachine.GetNumber(numberName);
input.Value = num;
}
private void Update()
{
if (m_stateMachine != null)
{
m_stateMachine.Advance(Time.deltaTime);
}
}
`
i see input value was set correctly, but the rive state was not change.
The text was updated successfully, but these errors were encountered: