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
// ==UserScript== | |
// @name 5ch Browser | |
// @namespace http://tampermonkey.net/ | |
// @version 1.0.0 | |
// @description 簡易5chブラウザ(NG設定、サムネイル表示) | |
// @author shiguruikai | |
// @match *://*.5ch.net/test/* | |
// @match *://*.5ch.sc/test/* | |
// @match *://*.bbspink.com/test/* | |
// @grant none |
Chromeの開発者ツールのElementタブで、*
のスタイルに、以下の内容を追加
tab-size: 4 !important;
スポンサーの募集は締め切りました。以後は GitHub Sponsors に移行する予定です。
どのような募集をしていたか知りたい場合は履歴を確認してください。
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 Cryptography = System.Security.Cryptography; | |
using System.Text; | |
#if UNITY_IOS | |
using UnityEngine.iOS; | |
#endif | |
/// <summary> | |
/// AdMobUtility |
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
//ファイアーボール側のOnCollisionEnterの実装例 | |
void OnCollisionEnter(Collision coll) | |
{ | |
//すでにダメージを与えた後なら何もしない | |
if (isDisabled) return; | |
// 対象がダメージを受けることができるオブジェクトであるか調べる | |
var target = coll.gameObject.GetComponent<IDmageable>(); | |
if ( target == null ) return; |
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 System.Linq; | |
using System.Reflection; | |
using UnityEditor; | |
using UnityEngine; | |
/// <summary> | |
/// A base class for creating editors that decorate Unity's built-in editor types. | |
/// </summary> | |
public abstract class DecoratorEditor : Editor |
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 UnityEditor; | |
namespace EditorExtension | |
{ | |
namespace Scope | |
{ | |
public class ContentsScope : GUI.Scope | |
{ | |
public ContentsScope() |
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 UnityEditor; | |
using UnityEngine; | |
[InitializeOnLoad] | |
public static class Example | |
{ | |
private const int WIDTH = 16; | |
static Example() | |
{ |
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; | |
#if UNITY_EDITOR | |
using UnityEditor; | |
using UnityEditorInternal; | |
#endif | |
public class ReorderableListAttribute : PropertyAttribute {} |
NewerOlder