private void Start() { itemD = GameObject.Find("DetectionZone").GetComponent <ItemDetection>(); enclumeAnim = GetComponent <Animator>(); coinsTXT = GetComponentInChildren <TMP_Text>(); coinsTXT.text = necessaryCoinsPhase1.ToString(); }
void Start() { attack = DoAttack; canAttack = true; animHandler = GetComponent <YT_PCAnimationHandler>(); itemCharge = GetComponent <ItemCharge>(); activeItem = GetComponentInChildren <ItemDetection>(); }
private void Start() { roomColor = GetComponentInParent <LeverTrigger>(); itemCharge = GameObject.Find("Perso").GetComponent <ItemCharge>(); activeItem = GameObject.Find("DetectionZone").GetComponent <ItemDetection>(); detectPlayer = GameObject.Find("EnnemisDetection").GetComponent <YT_RoomTransition>(); hiveMind = false; }
private void Start() { playerController = GameObject.Find("Perso").GetComponent <PlayerController>(); itemCharge = GetComponent <ItemCharge>(); activeItem = GetComponentInChildren <ItemDetection>(); Shoot = DoShoot; controller = GetComponent <PlayerController>(); }
private void Start() { coinCount = GameObject.Find("DetectionZone").GetComponent <ItemDetection>(); itemAnim = GetComponent <Animator>(); numberCoinsTXT = GetComponentInChildren <TMP_Text>(); numberCoinsTXT.text = itemCost.ToString(); isInside = false; }
private void Start() { activeItem = GetComponentInChildren <ItemDetection>(); useActiveItem = true; }
private void Start() { player = GameObject.FindGameObjectWithTag("Player"); activeItem = GetComponentInChildren <ItemDetection>(); itemCharge = GetComponent <ItemCharge>(); }
// Start is called before the first frame update void Start() { itemDetection = FindObjectOfType <ItemDetection>(); }