- Home /
Question by
Mr_Savage893 · May 28, 2020 at 04:10 AM ·
#pragma
Is it possible to have a changing line of script based off of variables?
So like what im meaning is could you do something like,
Database.GetComponent().filled[insert variable number here];
I am kinda new so I'm not even sure if this is possible. If not I know there is a long way but it would be extremely frustrating and painstakingly long to pull off.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612235441im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How to Access GameObject.collider.cente in #pragma strict 1 Answer
GameObjects turn invisible when i teleport the Player's transform to a respawn point. 0 Answers
Should I get checked out? 0 Answers
How to make something happen when all of one type of enemies are destroyed by bullets. 2 Answers
what are #pragma? 1 Answer