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
public CapsuleCollider capCollider; | |
void Start() | |
{ | |
capColider = this.GetComponent<CapsuleCollider>(); | |
} | |
private bool checkGround() | |
{ | |
//CapsuleColliderの足元に、判定Sphereを設置→Sphere内のオブジェクトを全走査する |
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 UnityEngine; | |
#if UNITY_EDITOR | |
using UnityEditor; | |
#endif | |
public class CustomWindow : EditorWindow | |
{ |
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.Collections.Generic; | |
using System.Linq; | |
using UnityEngine; | |
#if UNITY_EDITOR | |
using UnityEditor; | |
using UnityEditor.Animations; | |
#endif |
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.Collections.Generic; | |
using UnityEngine; | |
#if UNITY_EDITOR | |
using UnityEditor; | |
#endif | |
public enum StateID | |
{ |
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
@echo off | |
rem 【コピー元のフォルダの新規ファイルをコピーする。】 | |
rem /S サブディレクトリをコピーします。 このオプションでは、空のディレクトリをコピーしないことに注意してください。 | |
rem /R:n 失敗したコピーに対する再試行数: 既定値は 1,000,000。 | |
rem /W:n 再試行と再試行の間の待機時間: 既定値は、30 秒です。 | |
rem /XJD フォルダの接合ポイントを除外します。 ジャンクションという特殊ファイルをコピー対象から外します。 | |
rem /XJF ファイルの接合ポイントを除外します。ジャンクションという特殊ファイルをコピー対象から外します。 | |
@echo on | |
robocopy C:XXXXXX\XXXXX C:\yyyy\yyyyy /S /W:5 /XJF /XJD |
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
rem 通常タイプ | |
tasklist | find "firefox.exe" > NUL | |
if ERRORLEVEL 1 ( | |
echo not found | |
) else ( | |
echo not found | |
) | |
rem 無駄な出力をしないタイプ | |
@tasklist | find "firefox.exe" > NUL |
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
# -*- coding: utf-8 -*- | |
from selenium import webdriver | |
from selenium.webdriver.common.keys import Keys | |
######################### | |
#パラメータ | |
CHROME_DRIVER_PATH = "chromedriver_win32\chromedriver.exe" | |
URL = "http://xxx" | |
WAIT_SEC = 10 #要素が見つかるまで最大何秒待つか |
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
@echo off | |
rem 【ファイルを移動】 | |
rem /P xxxxx パス名指定 | |
rem /S サブディレクトリに対しても処理を行う | |
rem /C コマンド実行 | |
rem @path forfilesで取得したファイル名(絶対パス) | |
@echo on | |
set curpath=%~dp0 | |
forfiles /S /C "cmd /c if @isDir==FALSE move @path %curpath%" |
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
# -*- coding: utf-8 -*- | |
""" | |
Created on Tue Jun 13 20:25:57 2017 | |
@author: gologius | |
Slackで保存しているURL付きのメッセージをJSON形式でファイルに書き出す. | |
1. get token | |
https://api.slack.com/custom-integrations/legacy-tokens |
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
@echo off | |
echo ### ## | |
echo ### ############################## | |
echo ### # ### # | |
echo #### ### ### #### | |
echo ################################### ### ### #### | |
echo ###### ##################################### | |
echo ######### ##### ### #### | |
echo ####### ### ##### ### ##### |
OlderNewer