private void Awake() { detector = GetComponent <InteractionDetector>(); playerPickUp = GetComponent <PlayerPickUp>(); playerSteward = playerRoot.GetComponent <PlayerSteward>(); }
private void Start() { PlayerComponent player = GetComponentInParent <PlayerComponent>(); playerPickUp = player.GetComponentInChildren <PlayerPickUp>(); }
private void Awake() { playerPickUp = GetComponent <PlayerPickUp>(); playerInteract = GetComponent <PlayerInteract>(); playerBrawling = GetComponentInParent <PlayerBrawling>(); }
private void Awake() { active = false; playerPickUp = GetComponentInParent <PlayerPickUp>(); }