Return to Unity Plugin

Change target fps

All about Unity plug-in

Change target fps

Postby iv tru » May 5th, 2017, 2:02 am

How can i change target fps from code with no Pro version?
im trying this
gaf_animator.GetComponent<GAFInternal.Core.GAFAnimationPlayerSettings>().targetFPS = 120;
but it gives error
ArgumentException: GetComponent requires that the requested component 'GAFAnimationPlayerSettings' derives from MonoBehaviour or Component or is an interface.
UnityEngine.GameObject.GetComponent[GAFAnimationPlayerSettings] () (at C:/buildslave/unity/build/artifacts/generated/common/runtime/GameObjectBindings.gen.cs:35)
User avatar
iv tru
 
Posts: 8
Joined: April 28th, 2017, 1:27 am

Return to Unity Plugin

Who is online

Users browsing this forum: No registered users and 1 guest