// Use this for initialization void Start() { BGM = GameObject.Find("soundContolloer").GetComponent <soundContolloer>(); //スコア初期化 score = 0; BGM.select_BGM(0); }
// Use this for initialization void Start() { direction = GetComponent <player_move>(); SE = GameObject.Find("soundContolloer").GetComponent <soundContolloer>(); time = 10.0f; st = GameObject.Find("statusContolloer").GetComponent <stautascontolloer>(); }
// Use this for initialization void Awake() { SE = GameObject.Find("soundContolloer").GetComponent <soundContolloer>(); UI_Con = GameObject.Find("UI_Controller"); if (gameObject.name == trasure_name) { treasure_score = 10; } else if (gameObject.name == trasure_name2) { treasure_score = 100; } else if (gameObject.name == trasure_name3) { treasure_score = 1000; } }
void Awake() { sound_come = GameObject.Find("soundContolloer").GetComponent <soundContolloer>(); }
// Use this for initialization void Start() { MainSprite = GetComponent <SpriteRenderer>(); SE = GameObject.Find("soundContolloer").GetComponent <soundContolloer>(); }
// Use this for initialization void Start() { player_num = TitleSystem.Get_Member(); BGM = GameObject.Find("soundContolloer").GetComponent <soundContolloer>(); BGM.select_BGM(1); }
void Awake() { SE = GameObject.Find("soundContolloer").GetComponent <soundContolloer>(); movePatern = Random.Range(0, 3);//0なら部屋内完全ランダム1なら完全追従2ならランダム→部屋内追従 }
void Awake() { BGM = GameObject.Find("soundContolloer").GetComponent <soundContolloer>(); BGM.select_BGM(2); }