it wants me to type this in the script
public override void OnStartLocalPlayer()
{
GetComponent().material.color = Color.blue;
}
but the GetComponet() isn’t working
it wants me to type this in the script
public override void OnStartLocalPlayer()
{
GetComponent().material.color = Color.blue;
}
but the GetComponet() isn’t working
nvm I figured it out instead of typing this:
GetComponent().material.color = Color.blue;
I need to type this:
GetComponent<Renderer>().material.color = Color.blue;
to set an argument