// Update is called once per frame private void Start() { TimeShootDelay = Time.time; playerComBat = gameObject.GetComponent <PlayerComBat>(); animator = gameObject.GetComponent <Animator>(); playerBasic = gameObject.GetComponent <Player>(); }
// Start is called before the first frame update void Start() { Hp = GetComponentInParent <Player>(); isJump = GetComponentInParent <PlayerMoving>(); isAtk = GetComponentInParent <PlayerComBat>(); }