This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
public class Wireframe : MonoBehaviour { | |
public Color lineColor; | |
public Color backgroundColor; | |
public bool ZWrite = true; | |
public bool AWrite = true; | |
public bool blend = true; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
using System.Runtime.InteropServices; | |
public class VideoPicker : MonoBehaviour { | |
public Texture2D shareButtonImage; // Use this for initialization | |
[DllImport("__Internal")] | |
private static extern void OpenVideoPicker(string game_object_name, string function_name); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
public class SimpleBGMPlayer : MonoBehaviour { | |
// Use this for initialization | |
void Start () { | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
__author__ = 'tani' | |
from xml.etree.ElementTree import * | |
from operator import itemgetter, attrgetter | |
class Question: | |
def __init__(self, delayTime, comment): | |
self.delayTime = delayTime | |
self.comment = comment | |
def __repr__(self): | |
return repr((self.delayTime, self.comment)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
public class SetUIPos : MonoBehaviour { | |
public enum enumCorner { TopLeft, BottomLeft, TopRight, BottomRight }; | |
public enumCorner coner; | |
public int offsetX; | |
public int offsetY; | |
// Use this for initialization |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
using UnityEngine.UI; | |
public class CaptureScreen : MonoBehaviour { | |
public string fileName; | |
// Use this for initialization | |
void Start () { | |
Button button = this.GetComponent<Button>(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Shader "StandardDoubleSide" | |
{ | |
Properties | |
{ | |
_Color("Color", Color) = (1,1,1,1) | |
_MainTex("Albedo", 2D) = "white" {} | |
_Cutoff("Alpha Cutoff", Range(0.0, 1.0)) = 0.5 | |
_Glossiness("Smoothness", Range(0.0, 1.0)) = 0.5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
[ExecuteInEditMode] | |
public class SetRenderQueue : MonoBehaviour { | |
public int rQueue; | |
// Use this for initialization | |
void Start () { | |
GetComponent<Renderer>().material.renderQueue = rQueue; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ffmpeg -i input.mp4 -metadata:s:v rotate="0" -vf "hflip,vflip" -c:v libx264 -crf 23 -acodec copy output.mp4 | |
ffmpeg -i output.mp4 "out_%04d.jpg" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
__author__ = 'tani' | |
import shutil | |
if __name__ == '__main__': | |
start = 1 | |
end = 1324 | |
step = 5 | |
copy_from = "form/" | |
copy_to = "to/" |
OlderNewer