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
[SerializeField] | |
private float speed = 10f; | |
void Update () { | |
transform.Translate (speed * Time.deltaTime, 0, 0); | |
} |
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.Text.RegularExpressions; | |
using UnityEditor; | |
using UnityEngine; | |
public class ToNumbering : EditorWindow | |
{ | |
private string baseName = ""; | |
// Add menu item named "My Window" to the Window menu |
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
#include <stdio.h> | |
#define LOG2 0.693147180559945309417 //log(2) | |
#define chk_nan(x) x!=x | |
double log_fast(double x) | |
{ | |
static double table[17]={ | |
.0 , // log( 16 /16) | |
.0606246218164348425806 , // log( 17 /16) | |
.1177830356563834545387 , // log( 18 /16) |
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 UnityEngine; | |
using UnityEngine.Events; | |
using UnityEngine.EventSystems; | |
public class CounterClickHandler : MonoBehaviour, IPointerClickHandler | |
{ | |
[SerializeField] | |
private ClickEvent clickHandler; | |
[SerializeField] |
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 UnityEngine; | |
using UnityEngine.Events; | |
using UnityEngine.EventSystems; | |
public class SecretClickHandler : MonoBehaviour, IPointerClickHandler | |
{ | |
[SerializeField] | |
private ClickEvent clickHandler; | |
[SerializeField] |
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
#include <cmath> | |
#include <iostream> | |
#include <iomanip> | |
#include <limits> | |
double excute(){ | |
double tmp = 1; | |
double current = 1; | |
while(1){ | |
current *= 2; |
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
[SerializeField] | |
private int _Score; | |
public int Score | |
{ | |
get { return _Score; } | |
set { _Score = value; } | |
} |
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
The script encountered an error while running an AJAX request. | |
If you are using your hosts file to map a domain try browsing via the IP address directly. | |
If you are still running into problems we recommend trying the CLI script bundled with this package. | |
See the README for details. |
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
COPY AND PASTE on CMD | |
for /D /R %d in (packages) do rmdir /S /Q "%d" & | |
for /D /R %d in (package) do rmdir /S /Q "%d" & | |
for /D /R %d in (.git) do rmdir /S /Q "%d" & | |
for /D /R %d in (Debug) do rmdir /S /Q "%d" & | |
for /D /R %d in (debug) do rmdir /S /Q "%d" & | |
for /D /R %d in (DebugPublic) do rmdir /S /Q "%d" & | |
for /D /R %d in (debugPublic) do rmdir /S /Q "%d" & | |
for /D /R %d in (Release) do rmdir /S /Q "%d" & |
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
// 問. 厳密でない等価演算子編 | |
// 次のJavaScript(ES6)のコードを実行したとき、 | |
// 出力はどうなるか答えよ。 | |
a = Boolean(null == undefined); | |
if(a) console.log("true"); | |
else console.log("false"); | |
b = Boolean(0 == null); |