Time.captureFramerate

static var captureFramerate : int

Description

If captureFramerate is set to a value larger than 0, time will advance in

(1.0 / captureFramerate) per frame regardless of real time. This is useful if you want to capture a movie where you need a constant frame rate.

JavaScript
Time.captureFramerate = 25;

using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
void Example() {
Time.captureFramerate = 25;
}
}

import UnityEngine
import System.Collections

class example(MonoBehaviour):

def Example():
Time.captureFramerate = 25