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 UnityEngine; | |
using UnityEditor; | |
/// <summary> | |
/// This editor utility can lock/unlock unity script compile from menu item. | |
/// See more https://raspberly.hateblo.jp/entry/InvalidateUnityCompile | |
/// </summary> | |
public static class CompileLocker | |
{ | |
[MenuItem("Compile/Lock", false, 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
1.プロジェクトのアセットをザクっと見渡すツールです | |
https://github.com/wotakuro/AssetsReporter | |
2.300フレーム毎にProfilerログを保存することで300フレーム上限問題を回避します。 | |
https://github.com/wotakuro/UnityProfilerIntervalSave | |
3.Profilerのログを分割する事で、300フレーム上限問題を回避します | |
https://github.com/wotakuro/ProfilerBinarylogSplit | |
4.ScreenShotをProfilerのログに埋め込みします |
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
0039.cf | |
0039.ga | |
0039.ml | |
00b2bcr51qv59xst2.cf | |
00b2bcr51qv59xst2.ga | |
00b2bcr51qv59xst2.ml | |
02466.cf | |
02466.ga | |
02466.ml | |
07819.cf |
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 UnityEngine; | |
public class DisableAnalytics : MonoBehaviour | |
{ | |
[RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.BeforeSceneLoad)] | |
public static void OnRuntimeMethodLoad() | |
{ | |
UnityEngine.Analytics.Analytics.enabled = false; | |
UnityEngine.Analytics.Analytics.deviceStatsEnabled = false; | |
UnityEngine.Analytics.Analytics.limitUserTracking = true; |
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 UnityEngine; | |
public static class RectTransformExtensions | |
{ | |
/// <summary> | |
/// 座標を保ったままPivotを変更する | |
/// </summary> | |
/// <param name="rectTransform">自身の参照</param> | |
/// <param name="targetPivot">変更先のPivot座標</param> | |
public static void SetPivotWithKeepingPosition(this RectTransform rectTransform, Vector2 targetPivot) |
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 UnityEngine; | |
using UnityEngine.EventSystems; | |
using UnityEngine.UI; | |
namespace EscapeRoom.LogicImplement | |
{ | |
public class EyeStone : Selectable ,IDragHandler | |
{ | |
public Item Item; |
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.Collections; | |
using System.Collections.Generic; | |
using System.Linq; | |
using UnityEngine; | |
using VRM; | |
public class AutoBlinkForVrm : 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
using UnityEngine; | |
using UnityEngine.Events; | |
using Vuforia; | |
public class CustomDefaultTrackableEventHandler : DefaultTrackableEventHandler { | |
public UnityEvent OnTrackingAction; | |
public UnityEvent OffTrackingAction; | |
protected override void OnTrackingFound () |
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
#!/usr/bin/env python3 | |
# coding: utf-8 | |
""" | |
Author : weaming | |
Created Time : 2018-05-26 21:32:59 | |
Prerequisite: | |
python3 -m pip install cson arrow | |
""" | |
import json | |
import os |
NewerOlder