Ejemplo n.º 1
0
    private float increaseQuantity; //ゲージの1秒当たりの増加量

    void Start()
    {
        iceGauge            = GetComponent <Image>();
        gCtrl               = GameObject.Find("GameStateController").GetComponent <GameStateController>();
        iceGauge.fillAmount = 0;
        ctrl = GameObject.Find("GeneratableIceCounter").GetComponent <GeneratableIceCounter>();
        sEnd = GameObject.FindGameObjectWithTag("Goal").GetComponent <StageEndJudge>();
    }
Ejemplo n.º 2
0
 // Start is called before the first frame update
 void Start()
 {
     ctrl         = GameObject.Find("GameStateController").GetComponent <GameStateController>();
     gCtrl        = GameObject.Find("GeneratableIceCounter").GetComponent <GeneratableIceCounter>();
     wCtrl        = GameObject.Find("WaterHeightController").GetComponent <WaterHeightController>();
     player       = GameObject.FindGameObjectWithTag("Player");
     pManager     = player.GetComponent <PlayerInputManager>();
     backPosition = GameObject.Find("BackGroundBreakIce").transform.position;
     bIce         = GameObject.Find("BackGroundBreakIce").GetComponent <BreakBackGroundIce>();
 }
Ejemplo n.º 3
0
 // Start is called before the first frame update
 void Start()
 {
     counter          = GameObject.Find("GeneratableIceCounter").GetComponent <GeneratableIceCounter>();
     iceQuantity      = GetComponent <Text>();
     iceQuantity.text = "0";
 }
Ejemplo n.º 4
0
 // Start is called before the first frame update
 void Start()
 {
     image = GetComponent <Image>();
     gc    = GameObject.Find("GeneratableIceCounter").GetComponent <GeneratableIceCounter>();
 }