void Start () { audioSource = gameObject.GetComponent<AudioSource>(); playmode = GameObject.Find("EventSystem").GetComponent<playmode>(); }
// Use this for initialization void Start () { lifeber = GetComponent<Image>(); playmode = GameObject.Find("EventSystem").GetComponent<playmode>(); }
void Start () { playmode = GameObject.Find("EventSystem").GetComponent<playmode>(); //ゲームの時間を60秒と設定 gametime = 60f; }
void Start () { ausrc = gameObject.GetComponent<AudioSource>(); score = GameObject.Find ("Score").GetComponent<ScoreText>(); life = GameObject.Find ("Lifeber").GetComponent<Life> (); playmode = GameObject.Find("EventSystem").GetComponent<playmode>(); }
void Start () { playmode = GameObject.Find("EventSystem").GetComponent<playmode>(); }
void Start () { playmode = GameObject.Find("EventSystem").GetComponent<playmode>(); score = GameObject.Find("Score").GetComponent<ScoreText>(); //テキストの位置調整 gameObject.transform.position = new Vector3(gameObject.transform.position.x+10f, gameObject.transform.position.y+10f, 0); }