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