|
@@ -11,6 +11,7 @@ public class XRRGBCamera : SingletonMono<XRRGBCamera>
|
|
|
public static XRRGBCamera Instance;
|
|
|
public Texture CaptureImage;
|
|
|
public WebCamTexture RGBCamTexture;
|
|
|
+ public bool isAuto = true;
|
|
|
private void Awake()
|
|
|
{
|
|
|
Instance = this;
|
|
@@ -18,7 +19,9 @@ public class XRRGBCamera : SingletonMono<XRRGBCamera>
|
|
|
private void Start()
|
|
|
{
|
|
|
// »ñÈ¡¿ÉÓõÄÉãÏñÍ·É豸
|
|
|
- //playCamera(1280,720);
|
|
|
+ if(isAuto)
|
|
|
+ playCamera(1280,720);
|
|
|
+
|
|
|
}
|
|
|
|
|
|
public void playCamera(int w, int h)
|