This file contains hidden or 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 UnityEngine; | |
| public static class L | |
| { | |
| private const string DefineConditional = "NEVER_DEFINED_SYMBOL"; | |
| #region LogLevel | |
| public enum LogLevel : byte |
This file contains hidden or 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.Threading; | |
| using Cysharp.Threading.Tasks; | |
| using UnityEngine; | |
| using UnityEngine.Assertions; | |
| namespace Nekomimi.Daimao | |
| { | |
| /// <summary> | |
| /// 最初の1文字を入力してから一定時間内に特定のキーを入力したかを判定する. |
This file contains hidden or 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
| #!/bin/sh | |
| # shellcheck disable=SC2086 | |
| # nekomimi-daimao | |
| # *MIT* https://opensource.org/licenses/mit-license.php | |
| # https://gist.github.com/nekomimi-daimao/9e4a8ff0e68818574f971a7ff86a536a | |
| # create license file | |
| # docker run --rm -v license:/license -w /license unityci/editor:ubuntu-2019.4.24f1-android-0.12.0 /opt/unity/Editor/Unity -quit -batchmode -nographics -logFile -createManualActivationFile |
This file contains hidden or 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
| #if UNITY_EDITOR | |
| using System; | |
| using System.Collections.Generic; | |
| using UnityEditor; | |
| using UnityEditor.Build.Reporting; | |
| /// <summary> | |
| /// /opt/unity/Editor/Unity -projectPath "" -batchmode -nographics -quit -executeMethod BuildExecutor.Build | |
| /// <see cref="ParseArg"/> |
This file contains hidden or 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
| /* | |
| * The MIT License (MIT) | |
| * | |
| * Copyright (c) 2021 NekomimiDaimao | |
| * | |
| * Permission is hereby granted, free of charge, to any person obtaining a copy | |
| * of this software and associated documentation files (the "Software"), to deal | |
| * in the Software without restriction, including without limitation the rights | |
| * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| * copies of the Software, and to permit persons to whom the Software is |
This file contains hidden or 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 Cysharp.Threading.Tasks; | |
| using UnityEngine; | |
| using UnityEngine.SceneManagement; | |
| namespace Nekomimi.Daimao.SceneEntry | |
| { | |
| public abstract class EntryBehaviourBase : MonoBehaviour | |
| { | |
| public Scene Scene => gameObject.scene; |
This file contains hidden or 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 UnityEngine; | |
| using UnityEngine.SceneManagement; | |
| namespace Nekomimi.Daimao | |
| { | |
| public static class DontDestroyOnLoadCollector | |
| { | |
| [RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.BeforeSceneLoad)] | |
| private static void Register() |
This file contains hidden or 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.IO; | |
| using System.Linq; | |
| using System.Net.Http; | |
| using System.Threading; | |
| using Cysharp.Threading.Tasks; | |
| using UnityEngine; | |
| using UnityEngine.UI; | |
| public class ChannelExample : MonoBehaviour |
This file contains hidden or 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 fs = require('fs'); | |
| const moduleId = "json-server"; | |
| const serveUrl = ["/", "/script.js", "/style.css", "/favicon.ico",]; | |
| module.exports = (request, response, next) => { | |
| if (serveUrl.includes(request.url)) { | |
| const fileName = request.url == "/" ? "/index.html" : request.url; | |
| const path = require.resolve(moduleId).split(moduleId)[0] + moduleId + "/public" + fileName; | |
| fs.readFile(path, (err, data) => { |
This file contains hidden or 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
| https://gist.github.com/nekomimi-daimao | |
| These gists are licensed under CC0 unless a separate license is included in the gist. | |
| http://creativecommons.org/publicdomain/zero/1.0/deed.ja |