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; }
void OnEnable() { transform.position = g_Player.transform.position; ae_Check = this.gameObject.GetComponent <AnimeEnd>(); an_Effect.Play("Jump_Effect"); }
// Start is called before the first frame update void Awake() { ae_Check = this.gameObject.GetComponent <AnimeEnd>(); sr_Sprite = this.gameObject.GetComponent <SpriteRenderer>(); }
// Start is called before the first frame update void Start() { ae_Check = this.gameObject.GetComponent <AnimeEnd>(); OnEnable(); }