#マークダウン表示テスト
です
##ほげほげ
テスト
using UnityEngine; | |
public class Test : MonoBehaviour | |
{ | |
//targetB | |
private Plane plane; | |
public Transform targetA; | |
void Start () |
using UnityEngine; | |
public class Example : MonoBehaviour | |
{ | |
static Example _instance; | |
void Awake () | |
{ | |
if (_instance != null) { | |
Destroy (gameObject); |
using UnityEngine; | |
using System.Collections; | |
public class NewBehaviourScript : MonoBehaviour | |
{ | |
public GUIStyle Btn; | |
void OnGUI () | |
{ |
using UnityEngine; | |
using UnityEditor; | |
using System.Text; | |
public class NewBehaviourScript{ | |
[MenuItem("Window/Save")] | |
static void Save (){ | |
EditorPrefs.SetString ("Hoge", ToBase64 ("日本語")); | |
} |
describe "ゲーム取得", => | |
@data = null | |
afterEach => | |
@data =null | |
it "取得", => | |
api.getGame(GAME_ID[0]).done (data) => @data = data | |
waitsFor => | |
data | |
, "load..." |
#マークダウン表示テスト
です
##ほげほげ
テスト
using UnityEngine; | |
using System.Collections; | |
public class NewBehaviourScript : MonoBehaviour { | |
// Use this for initialization | |
void Start () { | |
} | |
GameObject cube = GameObject.Find ("cube"); | |
if (cube == null) { | |
Debug.LogException (new NullReferenceException ()); | |
} | |
cube.GetComponent<Hoge> (); |
using UnityEngine; | |
public class Example : MonoBehaviour | |
{ | |
void OnGUI () | |
{ | |
GUIStyle style = GUIStyle.none; | |
{ | |
style.normal.textColor = Color.white; | |
style.richText = true; |
using UnityEngine; | |
public class DebugLog : MonoBehaviour | |
{ | |
void Awake () | |
{ | |
if (Debug.isDebugBuild) | |
Application.RegisterLogCallback (Handle); | |
} |