View AIR 3.6 for iOS and Android
Project Defaults | |
-default-size 640 1096 -swf-version=19 -default-frame-rate 60 -default-background-color 0xFFFFFF | |
Additional | |
-define+=CONFIG::mobile,false -define+=CONFIG::ios,false -define+=CONFIG::android,false -define+=CONFIG::desktop,true -define+=CONFIG::debug,true -define+=CONFIG::release,false -define+=CONFIG::device,false -compiler.optimize=false -compiler.incremental=true |
View ScreenRecorder.cs
using UnityEngine; | |
using System.Collections; | |
public class ScreenRecorder : MonoBehaviour | |
{ | |
public int framerate = 30; | |
public int superSize; | |
public bool autoRecord; | |
int frameCount; |