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(); }