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
String version = null; | |
try { | |
BufferedReader br = new BufferedReader(new FileReader("/proc/version")); | |
version = br.readLine(); | |
} catch (FileNotFoundException fex) { | |
Log.e("tag", fex.toString()); | |
} catch (IOException iex) { | |
Log.e("tag",iex.toString()); |
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 System; | |
using System.Collections; | |
using MiniJSON; | |
using UniRx.Async; | |
using UnityEngine; | |
using UnityEngine.Networking; | |
namespace VirtualComment | |
{ | |
/// <summary> |
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 System.Linq; | |
using Random = UnityEngine.Random; | |
public class DummyString | |
{ | |
public static string Generate(int length) | |
{ | |
return new string(Enumerable.Range(0, length).Select(i => Generate()).ToArray()); | |
} |
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 UnityEngine.EventSystems; | |
using UnityEngine.UI; | |
namespace EscapeRoom.LogicImplement | |
{ | |
public class EyeStone : Selectable ,IDragHandler | |
{ | |
public Item Item; |
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 System.Collections; | |
public class UploadTest : UnityEngine.MonoBehaviour | |
{ | |
private void Start() | |
{ | |
StartCoroutine(Upload()); | |
} | |
IEnumerator Upload() |
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 System.IO; | |
using System.Linq; | |
using UnityEditor; | |
using UnityEditor.Callbacks; | |
using UnityEngine; | |
/// <summary> | |
/// require -> https://github.com/Elringus/UnityGoogleDrive | |
/// </summary> | |
public class UploadAPKAfterBuildFinish |
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 System.Collections.Generic; | |
using UnityEngine.Events; | |
using UnityEngine.EventSystems; | |
namespace EscapeRoom | |
{ | |
public static class EventTriggerUtil | |
{ | |
/// <summary> | |
/// EventTriggerにコールバック関数を登録する拡張関数 |
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 System.Collections; | |
using System.Collections.Generic; | |
using UnityEditor; | |
using UnityEngine; | |
using UnityEngine.UI; | |
public class RatioScale : CanvasScaler | |
{ | |
// 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
using System; | |
using System.Collections; | |
using System.Text; | |
using Unity.EditorCoroutines.Editor; | |
using UnityEditor; | |
using UnityEditor.Callbacks; | |
using UnityEngine; | |
using UnityEngine.Networking; | |
namespace BuildProcess |
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
const Installer = function(root) { | |
let promptEvent; | |
const install = function(e) { | |
if(promptEvent) { | |
promptEvent.prompt(); | |
promptEvent.userChoice | |
.then(function(choiceResult) { | |
// The user actioned the prompt (good or bad). | |
// good is handled in |
OlderNewer