s&
info
About
info
About s&box
newspaper
Latest News
published_with_changes
Changes
map
Roadmap
monitoring
Metrics
games
Games
sports_esports
Browse Games
explore
Discover Games
category
Workshop
sports_esports
Games
landscape
Maps
view_in_ar
Models
texture
Materials
apparel
Clothing
construction
More..
forum
Forum
menu_book
Learn
docs
Documentation
api
Api Reference
school
Tutorials
manage_search
Code Search
input
Log in with Steam
chevron_left
Change Language
简体中文
English
Русский
Español
Português-Brasil
Deutsch
日本語
Français
Polski
Türkçe
한국어
Pirate
Italiano
ไทย
繁體中文
Українська
Čeština
Nederlands
Magyar
Dansk
Suomi
Svenska
Norsk
Ελληνικά
Română
Български
Tiếng Việt
Bahasa Indonesia
Español-Latinoamérica
العربية
Api
Classes
Sprite
GetAnimationIndex
chevron_left
Classes
class
Sprite
Constructors
functions
Sprite
Properties
data_object
Animations
data_object
ResourceVersion
Methods
functions
GetAnimation
functions
GetAnimationIndex
Static Methods
functions
FromTexture
functions
FromTextures
GetAnimationIndex
Get the index of an animation by its name. Returns -1 if not found.
method
int
GetAnimationIndex
(
string
name
)
Parameters
Name
Type
Description
name
string
The name of the animation
Returns
Type
Description
int
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.