condition when a animation finishes in unity
if(anim.GetCurrentAnimatorStateInfo(0).normalizedTime > 1){ //If normalizedTime is 0 to 1 means animation is playing, if greater than 1 means finished
Debug.Log("not playing");
}
else{
Debug.Log("playing");
}
Also in C#:
- how to select time and date in datetimepicker in c#
- how to make an object move in unity
- unity c# foreach
- how to set progress openedge driver name for odbc connection c#
- what is the or symbol in C#
- unity fall damage c#
- c# discord bot
- c# new thread
- how to check if an integer is in array c#
- get out of foreach statement c#
- .net core cli
- How to get number of months between 2 dates c#
- c# while loop
- c# repeat string x times
- asp textarea
- The CodeDom provider type "Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" could not be located.
- what is c# used for
- c# resize image keep aspect ratio
- c# download string url
- how to compare datetime in c#
- unity check when clicked on object
- C# resize window without title bar
- what is a protected int c#
- get string character by index c#