Esempio n. 1
0
 private void Awake()
 {
     detector      = GetComponent <InteractionDetector>();
     playerPickUp  = GetComponent <PlayerPickUp>();
     playerSteward = playerRoot.GetComponent <PlayerSteward>();
 }
        private void Start()
        {
            PlayerComponent player = GetComponentInParent <PlayerComponent>();

            playerPickUp = player.GetComponentInChildren <PlayerPickUp>();
        }
Esempio n. 3
0
 private void Awake()
 {
     playerPickUp   = GetComponent <PlayerPickUp>();
     playerInteract = GetComponent <PlayerInteract>();
     playerBrawling = GetComponentInParent <PlayerBrawling>();
 }
 private void Awake()
 {
     active       = false;
     playerPickUp = GetComponentInParent <PlayerPickUp>();
 }