From 9c1511dc8bfa4f41535b5212e674d985fcffc720 Mon Sep 17 00:00:00 2001 From: Alexander Munch-Hansen Date: Thu, 28 Feb 2019 11:58:34 +0100 Subject: [PATCH] Fishy is fish --- AR-2b/Assets/Homo_script.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/AR-2b/Assets/Homo_script.cs b/AR-2b/Assets/Homo_script.cs index 5fd69ab..8e58c6d 100644 --- a/AR-2b/Assets/Homo_script.cs +++ b/AR-2b/Assets/Homo_script.cs @@ -24,8 +24,8 @@ public class Homo_script : MonoBehaviour public float cy = 240; - private int width = 420; - private int height = 420; + private int width = 280; + private int height = 150; private MatOfPoint2f dstPoints; private Texture2D outputTexture; @@ -51,12 +51,12 @@ public class Homo_script : MonoBehaviour outputTexture = new Texture2D(width, height, TextureFormat.RGBA32, false); - pls = GameObject.Find("flying_skull"); + pls = GameObject.Find("fish"); rend = pls.GetComponent(); // Debugging - pls = GameObject.Find("pls"); - rend = pls.GetComponent(); + //pls = GameObject.Find("pls"); + //rend = pls.GetComponent(); }