How to use IF in Unity for selection MyScript

I have 2 script in unity, but in my condition, I want to use “Script b” if true, and if false using “Script c”.
Statement IF i call in “Script a” for selection Script b or Script c
Thanks for your answer… :smiley:

Every time you want to use a variable that is in another script, you should declare it as PUBLIC STATIC. And the use it in your script like MyScript.variable == something;