View UnityPackageSynchronizerWindow.cs
using System.Collections.Generic; | |
using UnityEditor; | |
using UnityEngine; | |
using System; | |
using System.Net.Http; | |
using System.Net.Http.Headers; | |
using System.Threading.Tasks; | |
using System.IO; | |
using System.Linq; |
View ResolvedView
ResolvedView | |
{ | |
float4x4 TranslatedWorldToClip; | |
float4x4 WorldToClip; | |
float4x4 TranslatedWorldToView; | |
float4x4 ViewToTranslatedWorld; | |
float4x4 TranslatedWorldToCameraView; | |
float4x4 CameraViewToTranslatedWorld; | |
float4x4 ViewToClip; | |
float4x4 ViewToClipNoAA; |
View FragmentWithSurface.shader
Shader "Custom/fragmentWithSurface" { | |
Properties { | |
_Color ("Color", Color) = (1,1,1,1) | |
_MainTex ("Albedo (RGB)", 2D) = "white" {} | |
_Glossiness ("Smoothness", Range(0,1)) = 0.5 | |
_Metallic ("Metallic", Range(0,1)) = 0.0 | |
} | |
SubShader { | |
Tags { "RenderType"="Opaque" } |
View fragWithSurfSample.shader
#include "UnityPBSLighting.cginc" | |
fixed4 frag(v2f i) : SV_Target | |
{ | |
Input surfIN; | |
UNITY_INITIALIZE_OUTPUT(Input, surfIN); | |
SurfaceOutputStandard o; | |
UNITY_INITIALIZE_OUTPUT(SurfaceOutputStandard, o); | |
surf(surfIN, o); | |
return fixed4(o.Albedo,0); |
View Zaif succession agree mail
Date: 2018/11/28 | |
Title:承継同意お手続きのお願い | |
Zaif | |
承継同意お手続きのお願い | |
日頃より仮想通貨取引所『Zaif』をご利用いただきましてありがとうございます。 | |
度重なるご連絡、誠に恐れ入ります。11/22よりZaifの運営が弊社から株式会社フィスコ仮想通貨取引所に変更になりました。そのため、お客さまには本変更に関しまして、同意のお手続きをお願いしております。 | |
View SteamVR Plugin2.0 Input Sample.cs
using UnityEngine; | |
using Valve.VR; | |
using UniRx; | |
public class SteamVRNotifierBase | |
{ | |
public string buttonName; | |
public bool isLeft; | |
} |
View Hugo_appyaml
runtime: go | |
api_version: go1 | |
handlers: | |
- url: / | |
static_files: public/index.html | |
upload: / | |
- url: /css | |
static_dir: public/css | |
- url: /fonts |
View SelfManagementOfTrackedDevices.cs
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using Valve.VR; | |
public class SelfManagementOfTrackedDevices : MonoBehaviour | |
{ | |
public GameObject[] targetObjs; | |
public ETrackedDeviceClass targetClass = ETrackedDeviceClass.GenericTracker; | |
public KeyCode resetDeviceIds = KeyCode.Tab; |
View MakeZipForGAS
//フォルダの中身をzipにする関数 | |
function makeZip(fileName, folderId){ | |
var folder = DriveApp.getFolderById(folderId); | |
var fileList = folder.getFiles(); | |
var archive = ""; | |
var blobs = new Array(); | |
while(fileList.hasNext()){ | |
var file = fileList.next(); |
View GameData.cs
//MessagePack をいれとく | |
//https://github.com/neuecc/MessagePack-CSharp/releases | |
//GameData.Load(gameObject) GameData.Save(gameObject) で使う | |
[MessagePack.MessagePackObject] | |
public class saveDataFormat | |
{ | |
[MessagePack.Key(0)] | |
public string name; | |
[MessagePack.Key(1)] |
NewerOlder