Skip to content
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

Support multiple idle animations #214

Merged
merged 1 commit into from
Mar 24, 2023
Merged

Support multiple idle animations #214

merged 1 commit into from
Mar 24, 2023

Conversation

uezo
Copy link
Owner

@uezo uezo commented Mar 24, 2023

Set idle animations at Awake() in your app.

// Idling animations (random every 30 sec)
modelController.AddIdleAnimation(new Animation("BaseParam", 19, 30.0f), 1);
modelController.AddIdleAnimation(new Animation("BaseParam", 7, 30.0f), 1);
modelController.AddIdleAnimation(new Animation("BaseParam", 5, 30.0f), 1);

Set idle animations at Awake() in your app.

```csharp
// Idling animations (random every 30 sec)
modelController.AddIdleAnimation(new Animation("BaseParam", 19, 30.0f), 1);
modelController.AddIdleAnimation(new Animation("BaseParam", 7, 30.0f), 1);
modelController.AddIdleAnimation(new Animation("BaseParam", 5, 30.0f), 1);
```
@uezo uezo merged commit fd13498 into master Mar 24, 2023
@uezo uezo deleted the multiple-idle-animation branch March 24, 2023 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant