Ejemplo n.º 1
0
    // Start is called before the first frame update
    void Start()
    {
        YuusyaAI = GameObject.Find("yuusya").GetComponent <yuusyaAI>();
        enemyAI  = GameObject.Find("boss").GetComponent <EnemyAI>();

        FarstDame  = true;
        SecondDame = true;
        ThirdDame  = true;
        FourthDame = true;


        startbutton = GameObject.Find("Gamemain").GetComponent <Startbutton>();
    }
Ejemplo n.º 2
0
    //private SNAP snap;
    // Start is called before the first frame update
    void Start()
    {
        YuusyaAI       = GameObject.Find("yuusya").GetComponent <yuusyaAI>();
        enemyAI        = GameObject.Find("boss").GetComponent <EnemyAI>();
        holding        = GetComponentInParent <SNAP>();
        TorabasamiAnim = GameObject.Find("Trap_Torabasami_Animation_1").GetComponent <Animator>();

        //FarstDame = true;
        //SecondDame = true;
        parent = transform.parent.gameObject;

        startbutton = GameObject.Find("Gamemain").GetComponent <Startbutton>();
        //snap = GameObject.Find("torabasami").GetComponent<SNAP>();
    }
Ejemplo n.º 3
0
 // Start is called before the first frame update
 void Start()
 {
     moving = GameObject.Find("yuusya").GetComponent <yuusyaAI>();
 }
Ejemplo n.º 4
0
 // Start is called before the first frame update
 void Start()
 {
     jimen     = GetComponentInParent <yuusyaAI>();
     jumpkanri = GetComponent <jumpkanri2>();
     ikkai     = true;
 }
Ejemplo n.º 5
0
 // Start is called before the first frame update
 void Start()
 {
     YuusyaAI    = GameObject.Find("yuusya").GetComponent <yuusyaAI>();
     startbutton = GameObject.Find("Gamemain").GetComponent <Startbutton>();
     holding     = GetComponentInParent <SNAP>();
 }
Ejemplo n.º 6
0
    private int Encount_Sound_Flag = 0;//発見音の制御用

    // Start is called before the first frame update
    void Start()
    {
        yuusya = GetComponent <yuusyaAI>();
    }
Ejemplo n.º 7
0
Archivo: Hole.cs Proyecto: parumyon/TUT
    // Start is called before the first frame update
    void Start()
    {
        HoleTrans = Hole_WarpPosition.GetComponent <Transform>();

        YuusyaAI = Yuusya.GetComponent <yuusyaAI>();
    }
Ejemplo n.º 8
0
 // Start is called before the first frame update
 void Start()
 {
     jimen = GetComponentInParent <yuusyaAI>();
     ikkai = true;
 }
Ejemplo n.º 9
0
 // Start is called before the first frame update
 void Start()
 {
     jumping = GameObject.Find("jamp").GetComponent <jumpkanri2>();
     moving  = GameObject.Find("yuusya").GetComponent <yuusyaAI>();
 }