----------------------
BroadcastMessage ("methodName: string");
Unity Manual スクリプトリファレンス
http://docs-jp.unity3d.com/Documentation/ScriptReference/Component.BroadcastMessage.html
BroadcastMessage ("methodName: string");
Application.targetFrameRate = 60;
private var num : int;
function Update () {
if(Input.GetButtonDown("Fire1")){
num = Random.Range(0, 4);
Debug.Log(num);
}
}

var child_A : GameObject;
function Start() {
var child_A_obj : GameObject = Instantiate(child_A, transform.position, transform.rotation);
child_A_obj.transform.parent = transform;
}

function Start() {
GetComponent(AudioListener).enabled = false; //再生ボタンを押した直後にoff
}

