// 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>();
    }
Пример #3
0
    // 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;
        }
    }
Пример #4
0
 void Awake()
 {
     sound_come = GameObject.Find("soundContolloer").GetComponent <soundContolloer>();
 }
Пример #5
0
 // Use this for initialization
 void Start()
 {
     MainSprite = GetComponent <SpriteRenderer>();
     SE         = GameObject.Find("soundContolloer").GetComponent <soundContolloer>();
 }
Пример #6
0
 // Use this for initialization
 void Start()
 {
     player_num = TitleSystem.Get_Member();
     BGM        = GameObject.Find("soundContolloer").GetComponent <soundContolloer>();
     BGM.select_BGM(1);
 }
Пример #7
0
 void Awake()
 {
     SE         = GameObject.Find("soundContolloer").GetComponent <soundContolloer>();
     movePatern = Random.Range(0, 3);//0なら部屋内完全ランダム1なら完全追従2ならランダム→部屋内追従
 }
Пример #8
0
 void Awake()
 {
     BGM = GameObject.Find("soundContolloer").GetComponent <soundContolloer>();
     BGM.select_BGM(2);
 }