Ejemplo n.º 1
0
    private bool b_ActiveFlg;             //発動フラグ(true:発動、false:硬直)

    /*=============================================*/
    // 初期化
    /*=============================================*/
    void Start()
    {
        g_HPGauge = GameObject.Find("HPGauge");
        g_HP      = GameObject.Find("HP");
        AriesHeal = GameObject.Find("AriesHeal");
        AriesHeal.SetActive(false);
        ae_Effect = gameObject.GetComponent <AnimeEnd>();
        f_Timer   = 0.0f;
    }
Ejemplo n.º 2
0
 void OnEnable()
 {
     transform.position = g_Player.transform.position;
     ae_Check           = this.gameObject.GetComponent <AnimeEnd>();
     an_Effect.Play("Jump_Effect");
 }
Ejemplo n.º 3
0
 // Start is called before the first frame update
 void Awake()
 {
     ae_Check  = this.gameObject.GetComponent <AnimeEnd>();
     sr_Sprite = this.gameObject.GetComponent <SpriteRenderer>();
 }
Ejemplo n.º 4
0
 // Start is called before the first frame update
 void Start()
 {
     ae_Check = this.gameObject.GetComponent <AnimeEnd>();
     OnEnable();
 }