コード例 #1
0
 // Use this for initialization
 void Start()
 {
     theTexture      = theRenderer.sprite.texture;
     theSampleEffect = new SampleEffect(effectRenderer, Color.red, sampleFadeSpeed);
     width           = theTexture.width;
     height          = theTexture.height;
     decodeImage();
 }
コード例 #2
0
 public void restartGame()
 {
     hits            = 0;
     misses          = 0;
     theSampleEffect = new SampleEffect(effectRenderer, Color.red, sampleFadeSpeed);
 }