Skip to content

Instantly share code, notes, and snippets.

View gatosyocora's full-sized avatar

gatosyocora gatosyocora

View GitHub Profile
@gatosyocora
gatosyocora / AndroidManifest.xml
Created October 7, 2019 11:30
Quest用のAndroidManifest. Assets/Plugins/Androidに入れる
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.oculus.UnitySample" xmlns:tools="http://schemas.android.com/tools" android:installLocation="auto">
<supports-screens android:smallScreens="true" android:normalScreens="true" android:largeScreens="true" android:xlargeScreens="true" android:anyDensity="true" />
<application android:theme="@style/UnityThemeSelector" android:icon="@mipmap/app_icon" android:label="@string/app_name" android:isGame="true" android:banner="@drawable/app_banner">
<activity android:name="com.unity3d.player.UnityPlayerActivity" android:label="@string/app_name" android:screenOrientation="landscape" android:launchMode="singleTask" android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|orientation|screenLayout|uiMode|screenSize|smallestScreenSize|fontScale|layoutDirection|density" android:hardwareAccelerated="false">
<intent-filter>
<action android:name="android.intent.a
@gatosyocora
gatosyocora / Unzip_unitypackage.bat
Last active July 1, 2020 08:20
unitypackageを展開するbatファイル (cmdで引数にunitypackageを指定して使う)
@echo off
rem current character code
for /f "usebackq tokens=2 DELIMS=:" %%a in (`chcp`) do @set CHARCODE=%%a
chcp 65001 > nul 2>&1
rem unzip folder
set FOLDERNAME=unitypackage
if exist %FOLDERNAME% (goto FILE_TRUE) else goto FILE_FALSE
:FILE_TRUE
@gatosyocora
gatosyocora / AvatarPerformance.cs
Last active August 20, 2019 11:56
Unityでアバターの評価をおこなうためのエディタ拡張およびメソッド群
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
using System.Linq;
namespace Gatosyocora
{
public class AvatarPerformance : EditorWindow