예제 #1
0
    public UmaiboSandbag UmaSnd; //NekketsuActionが入る変数

    void Start()
    {
        // 各オブジェクトの変数を参照できるようにする。
        playerObjct = GameObject.Find("Player1");
        Player1     = playerObjct.GetComponent <NekketsuAction>();

        playerObjct = GameObject.Find("Player2");
        Player2     = playerObjct.GetComponent <NekketsuAction>();

        //playerObjct = GameObject.Find("Player3");
        //Player3 = playerObjct.GetComponent<NekketsuAction>();

        //playerObjct = GameObject.Find("Player4");
        //Player4 = playerObjct.GetComponent<NekketsuAction>();


        ItemObjct = GameObject.Find("bokutou");
        Item1     = ItemObjct.GetComponent <item>();


        // ★デバッグ用★
        playerObjct = GameObject.Find("UmaiboSandbag");
        sandbag     = playerObjct.GetComponent <UmaiboSandbag>();

        playerObjct = GameObject.Find("uni");
        uni         = playerObjct.GetComponent <DamageTest>();
        // ★デバッグ用★
    }
예제 #2
0
    XInputState XInputDashVector = XInputState.XNone; //ダッシュ入力受付方向保持変数

    public NekketsuMove(NekketsuAction nekketsuAction)
    {
        NAct = nekketsuAction;
    }
예제 #3
0
 void Start()
 {
     gameObjct = GameObject.Find("NekketsuManager");
     NSound    = this.gameObject.GetComponent <NekketsuSound>();
     NAct      = this.gameObject.GetComponent <NekketsuAction>();
 }
예제 #4
0
 public NekketsuAttack(NekketsuAction nekketsuAction)
 {
     NAct = nekketsuAction;
 }
예제 #5
0
    NekketsuAction NAct; //NekketsuActionが入る変数

    public NekketsuInput(NekketsuAction nekketsuAction)
    {
        NAct = nekketsuAction;
    }
예제 #6
0
    float NowDeathTime = 0; //プレイヤーが失格してから消えるまでの時間計測

    public NekketsuStateChange(NekketsuAction nekketsuAction)
    {
        NAct = nekketsuAction;
    }
예제 #7
0
 public NekketsuHurtBox(NekketsuAction nekketsuAction)
 {
     NAct = nekketsuAction;
 }
예제 #8
0
    float nowTimesquat  = 0f;    //しゃがみ状態硬直時間を計測

    public NekketsuJump(NekketsuAction nekketsuAction)
    {
        NAct = nekketsuAction;
    }
예제 #9
0
 public NekketsuMerikomiCheck(NekketsuAction nekketsuAction)
 {
     NAct = nekketsuAction;
 }
예제 #10
0
    NekketsuAction NAct; //NekketsuActionが入る変数

    public NekketsuHaveItem(NekketsuAction nekketsuAction)
    {
        NAct = nekketsuAction;
    }