#マークダウン表示テスト
です
##ほげほげ
テスト
using UnityEngine; | |
using System.Collections; | |
public class SampleScript : MonoBehaviour { | |
public float hp; | |
void Update() | |
{ | |
Debug.Log( hp ); |
using UnityEngine; | |
public class SceneAttribute : PropertyAttribute | |
{ | |
public int selectedValue = 0; | |
public SceneAttribute () | |
{ | |
} | |
} |
using UnityEngine; | |
/// <summary> | |
/// <para>通常使うスクリプトファイル。ゲームオブジェクトにアタッチすればインスペクターに表示される</para> | |
/// <para>今回は既にあるRangeAttributeを自作します。</para> | |
/// </summary> | |
public class Example : MonoBehaviour | |
{ | |
/// <summary> | |
/// 0から10までしか設定することの出来ないスライダーを作成します。 |
/// <summary> | |
/// https://gist.github.com/4243887 | |
/// http://anchan828.tumblr.com/post/37544410340 | |
/// </summary> | |
using UnityEngine; | |
using UnityEditor; | |
using System.Linq; | |
using System.Collections.Generic; | |
using System; |
using UnityEngine; | |
public class DebugLog : MonoBehaviour | |
{ | |
void Awake () | |
{ | |
if (Debug.isDebugBuild) | |
Application.RegisterLogCallback (Handle); | |
} |
using UnityEngine; | |
public class Example : MonoBehaviour | |
{ | |
void OnGUI () | |
{ | |
GUIStyle style = GUIStyle.none; | |
{ | |
style.normal.textColor = Color.white; | |
style.richText = true; |
GameObject cube = GameObject.Find ("cube"); | |
if (cube == null) { | |
Debug.LogException (new NullReferenceException ()); | |
} | |
cube.GetComponent<Hoge> (); |
using UnityEngine; | |
using System.Collections; | |
public class NewBehaviourScript : MonoBehaviour { | |
// Use this for initialization | |
void Start () { | |
} | |
#マークダウン表示テスト
です
##ほげほげ
テスト
describe "ゲーム取得", => | |
@data = null | |
afterEach => | |
@data =null | |
it "取得", => | |
api.getGame(GAME_ID[0]).done (data) => @data = data | |
waitsFor => | |
data | |
, "load..." |