Fishy is fish

This commit is contained in:
Alexander Munch-Hansen 2019-02-28 11:58:34 +01:00
parent 53aefac5fa
commit 9c1511dc8b

View File

@ -24,8 +24,8 @@ public class Homo_script : MonoBehaviour
public float cy = 240; public float cy = 240;
private int width = 420; private int width = 280;
private int height = 420; private int height = 150;
private MatOfPoint2f dstPoints; private MatOfPoint2f dstPoints;
private Texture2D outputTexture; private Texture2D outputTexture;
@ -51,12 +51,12 @@ public class Homo_script : MonoBehaviour
outputTexture = new Texture2D(width, height, TextureFormat.RGBA32, false); outputTexture = new Texture2D(width, height, TextureFormat.RGBA32, false);
pls = GameObject.Find("flying_skull"); pls = GameObject.Find("fish");
rend = pls.GetComponent<Renderer>(); rend = pls.GetComponent<Renderer>();
// Debugging // Debugging
pls = GameObject.Find("pls"); //pls = GameObject.Find("pls");
rend = pls.GetComponent<Renderer>(); //rend = pls.GetComponent<Renderer>();
} }