示例#1
0
        public void OnEnable()
        {
            imageCapture = (ImageCapture)target;

            regularCamera = serializedObject.FindProperty("regularCamera");
            stereoCamera  = serializedObject.FindProperty("stereoCamera");
            inputTexture  = serializedObject.FindProperty("inputTexture");
            cursorImage   = serializedObject.FindProperty("cursorImage");
        }
 private void Awake()
 {
     imageCapture = GetComponent <ImageCapture>();
     Application.runInBackground = true;
 }