Skip to content

Instantly share code, notes, and snippets.

@katapad
katapad / AIR 3.6 for iOS and Android
Last active December 17, 2015 18:18
IDEAで設定してるcompiler options
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
@keijiro
keijiro / ScreenRecorder.cs
Last active January 26, 2022 05:01
Screen recording utility.
using UnityEngine;
using System.Collections;
public class ScreenRecorder : MonoBehaviour
{
public int framerate = 30;
public int superSize;
public bool autoRecord;
int frameCount;