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 TMPro; | |
using UnityEditor; | |
[InitializeOnLoad] | |
public static class DynamicFontCleaner | |
{ | |
static DynamicFontCleaner() | |
{ | |
EditorApplication.playModeStateChanged += OnPlayModeStateChanged; |
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 Google.Play.Review; | |
using UnityEngine; | |
/// <summary> | |
/// Android端末でIn-App Review APIを呼ぶサンプル | |
/// </summary> | |
public class Sandbox_InAppReviewAPI : MonoBehaviour | |
{ | |
private 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 UnityEngine; | |
using UnityEditor; | |
using UnityEngine.UI; | |
public class FontReplaceWindow : EditorWindow | |
{ | |
private static Font _replaceBeforeFont; | |
private static Font _replaceAfterFont; |
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 System.Collections.Generic; | |
using System.Linq; | |
/// <summary> | |
/// パーティクルのプーリング用クラス | |
/// </summary> | |
public class ParticlePooler{ | |
public ParticlePooler(string particleName){ | |
this.particleName = particleName; |
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 UnityEditor.Animations; | |
using UnityEngine; | |
[CustomEditor(typeof(Animator))] | |
public class AnimatorCustomEditor : Editor { | |
public override void OnInspectorGUI() | |
{ | |
base.OnInspectorGUI(); |
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.IO; | |
using System.Linq; | |
using System.Reflection; | |
using System.Text; | |
using UnityEditor; | |
using UnityEngine; | |
using UnityEngine.U2D; | |
public static class AtlasConverterModel |
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.UI; | |
public static class RaycastTargetDisabler | |
{ | |
[MenuItem("GameObject/Disable RaycastTarget", false, -1)] | |
public static void Disable() | |
{ | |
var selected = Selection.activeGameObject; | |
if (!selected) |
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 DG.Tweening; | |
using UnityEngine; | |
public static class DoTweenExtension { | |
public static Tweener DoLocalAdditiveMoveX(this Transform transform, float diff,float duration) | |
{ | |
var current = transform.localPosition; |
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; | |
[RequireComponent(typeof(Rigidbody))] | |
[RequireComponent(typeof(BoxCollider))] | |
public class TriggerEnabledBoxCollider : MonoBehaviour { | |
#region MonoBehaviour | |
void Reset() |
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; | |
using System.Collections.Generic; | |
using System.Collections; | |
/// <summary> | |
/// 参照の検索結果を表示するEditorWindow | |
/// </summary> | |
public class ReferenceFindResultWindow : EditorWindow { |
NewerOlder