// Start is called before the first frame update protected virtual void Start() { pb = GetComponentInParent <PlayerBody>(); }
// Start is called before the first frame update void Awake() { pb = gameObject.GetComponent <PlayerBody>(); cam = Camera.main; }