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>(); // ★デバッグ用★ }
XInputState XInputDashVector = XInputState.XNone; //ダッシュ入力受付方向保持変数 public NekketsuMove(NekketsuAction nekketsuAction) { NAct = nekketsuAction; }
void Start() { gameObjct = GameObject.Find("NekketsuManager"); NSound = this.gameObject.GetComponent <NekketsuSound>(); NAct = this.gameObject.GetComponent <NekketsuAction>(); }
public NekketsuAttack(NekketsuAction nekketsuAction) { NAct = nekketsuAction; }
NekketsuAction NAct; //NekketsuActionが入る変数 public NekketsuInput(NekketsuAction nekketsuAction) { NAct = nekketsuAction; }
float NowDeathTime = 0; //プレイヤーが失格してから消えるまでの時間計測 public NekketsuStateChange(NekketsuAction nekketsuAction) { NAct = nekketsuAction; }
public NekketsuHurtBox(NekketsuAction nekketsuAction) { NAct = nekketsuAction; }
float nowTimesquat = 0f; //しゃがみ状態硬直時間を計測 public NekketsuJump(NekketsuAction nekketsuAction) { NAct = nekketsuAction; }
public NekketsuMerikomiCheck(NekketsuAction nekketsuAction) { NAct = nekketsuAction; }
NekketsuAction NAct; //NekketsuActionが入る変数 public NekketsuHaveItem(NekketsuAction nekketsuAction) { NAct = nekketsuAction; }