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.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEditor; | |
using UnityEditor.AnimatedValues; | |
using UnityEngine.Events; | |
public class EditorExtensionSample : EditorWindow | |
{ |
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.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEditor; | |
public class SampleAssets : ScriptableObject | |
{ | |
// ScriptableObject作成 | |
[MenuItem("Example/Create SampleAsset Instance")] |
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.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEngine.Serialization; | |
using UnityEditor; | |
[SelectionBase] // ゲームオブジェクトの選択順変更 | |
[ExecuteInEditMode] // Editorモードでも実行 |
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
const int ledPin = 12; | |
namespace SOUND | |
{ | |
const int ARRAY_NUM = 10; | |
const int CM_THR = 10; | |
const int echoPin = 2; | |
const int trigPin = 3; | |
double *buffer; | |
int index = 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>stage</title> | |
<meta charset="utf-8"> | |
<meta name="description" content="index"> | |
<meta name="author" content="Lambda"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script> | |
<script src="./api/jquery.xdomainajax.js"></script> |