how to make array of colliders?,if that's what'll do best.
so i have a collider trigger,when player enters i have in script : (if : money;Xp;Pressedbutton) then....LVLup.i would like to add a array (or list ,not sure yet) of each "Training Areas" where you can level up,... lets say 10,.. i guess i could do 10 public variables ,(Worst case scenario) OR, 2) question : how to Add : && : for collision ,because > : canLevelUP == true &&Input.GetKeyUp(KeyCode.U)&¤tGold >= CurrLevel * 200&& other.gameObject.tag == "trainAreaTAG" only works only with public "other" collider , thanks J
Your answer
![](https://koobas.hobune.stream/wayback/20220612151011im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
To know what is in a circle, use circle collider or Vector3.Distance? 2 Answers
Trigger detects player collision and play specific audio from array 1 Answer
Collision data stored in an array overwrites everything 0 Answers
How to teleport an object to 1 of 8 possible locations on collision? 1 Answer
collision.contacts not working, 0 Answers