SetColor() public method

public SetColor ( Color color ) : void
color Color
return void
コード例 #1
0
 private void TurnsOnGraphics()
 {
     onGraphics.SetActive(true);
     offGraphics.SetActive(false);
     midGraphics.SetColor(MidGraphicsOnColor);
     botGraphics.SetColor(BotGraphicsOnColor);
 }
コード例 #2
0
 private void TurnsOnGraphics()
 {
     onGraphics.SetActive(true);
     offGraphics.SetActive(false);
     midGraphics.SetColor(new Color(0.0f, 0.5f, 0.5f, 1.0f));
     botGraphics.SetColor(new Color(0.0f, 1.0f, 1.0f, 1.0f));
 }
コード例 #3
0
 private void TurnsOnGraphics()
 {
     onGraphics.SetActive(true);
     offGraphics.SetActive(false);
     onGraphics.SetBloomGain(3.0f);
     midGraphics.SetBloomGain(10.0f);
     midGraphics.SetColor(new Color(0.0f, 0.05f, 0.05f, 1.0f));
     botGraphics.SetBloomGain(2.5f);
     botGraphics.SetColor(new Color(0.0f, 1.0f, 1.0f, 1.0f));
 }