Animations are not smooth

Problem

While in Play mode or on the target device, the (show/hide/click) animations do not appear to be running smoothly.

Solution

Set the target frame rate for the Application

  1. Open one of your scripts (preferably one that gets loaded first when the application starts)

  2. In the Awake method add the following line of code

    Application.targetFrameRate = 60;

Learn more by visiting the Unity - Scripting API: Application.targetFrameRate