Knowing that the symbol = is different from the symbol == when writing codes is programming knowledge 102.
if (thereisFluid == true)
{
if (this.gameObject.GetComponent().myRed == true)
{
fluidred = true;
GetComponent().color = Color.red;
}
}
Knowing that the symbol = is different from the symbol == when writing codes is programming knowledge 102.
if (thereisFluid == true)
{
if (this.gameObject.GetComponent().myRed == true)
{
fluidred = true;
GetComponent().color = Color.red;
}
}
Copyright © 2024 | WordPress Theme by MH Themes