// Use this for initialization void Start() { controller = GetComponent<CharacterController>(); bullet = Resources.Load("PlayerBullet") as GameObject; playerParameter = GetComponent<PlayerParameter>(); powerUpParameter = GetComponent<PowerUpParameter>(); IsDead = false; isDash = false; }
// Use this for initialization void Start() { param = GameObject.FindWithTag("Player").GetComponent<PowerUpParameter>(); }