Skip to content

Instantly share code, notes, and snippets.

View ryo-ma's full-sized avatar
🍔
= 👨‍🍳 ( 🍞 + 🔪(🍅)[2] + 🔪(🧀)[0] + 🔥(🥩) + ✋(🥬)[0] + 🍞 );

ryo-ma ryo-ma

🍔
= 👨‍🍳 ( 🍞 + 🔪(🍅)[2] + 🔪(🧀)[0] + 🔥(🥩) + ✋(🥬)[0] + 🍞 );
View GitHub Profile
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using System;
public class LimitTimer : MonoBehaviour
{
public Text timerText
public int minute;
@ryo-ma
ryo-ma / Debug.cs
Created October 12, 2017 08:38
Unity Disable debug log by Debug class override.
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public static class Debug
{
static Debug()
{
Disable();
@ryo-ma
ryo-ma / ClickEvent.cs
Last active October 12, 2017 09:59
Unity Long Click and Short Click Component
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.EventSystems;
public class ClickEvent : MonoBehaviour
{
[SerializeField]
private UnityEvent onLongClick;
@ryo-ma
ryo-ma / README.md
Last active June 10, 2017 01:28
This script is test to fail when MonobehaviourTest is timeout.

TimeoutMonobehaviourTest

Description

  • This script is test to fail when MonobehaviourTest is timeout.

Environment

  • Unity Version 5.6.0

How to use

  • Please inherit your own class instead of Monobehaviour.