Example #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>();
    }
Example #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>();
    }
Example #3
0
 // Start is called before the first frame update
 void Start()
 {
     moving = GameObject.Find("yuusya").GetComponent <yuusyaAI>();
 }
Example #4
0
 // Start is called before the first frame update
 void Start()
 {
     jimen     = GetComponentInParent <yuusyaAI>();
     jumpkanri = GetComponent <jumpkanri2>();
     ikkai     = true;
 }
Example #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>();
 }
Example #6
0
    private int Encount_Sound_Flag = 0;//発見音の制御用

    // Start is called before the first frame update
    void Start()
    {
        yuusya = GetComponent <yuusyaAI>();
    }
Example #7
0
File: Hole.cs Project: parumyon/TUT
    // Start is called before the first frame update
    void Start()
    {
        HoleTrans = Hole_WarpPosition.GetComponent <Transform>();

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