public void AllBlack() { if (Arrived()) { GetComponent <Renderer>().material = BlackMaterial; } SP = blocks.GetComponent <SpawnPlayer>(); SP.AllBlack(BlackMaterial); }
public void AllBlack() { if (Arrived()) { GetComponent <Renderer>().material = BlackMaterial; } SP = blocks.GetComponent <SpawnPlayer>(); SP.AllBlack(BlackMaterial); }