コード例 #1
0
 private void Start()
 {
     pa           = GetComponent <ProcAmp>();
     ipAddress    = pa.ipAddress;
     PHP_filePath = pa.PHP_filePath;
     PHP_url      = pa.PHP_url;
     StartCoroutine(CheckConnection());
     isInDebugMode = pa.isInDebugMode;
 }
コード例 #2
0
    void Start()
    {
        pa = GetComponent <ProcAmp>();


        webcamTexture = new WebCamTexture(1920, 1080, 30);
        devices       = WebCamTexture.devices;

        isInDebugMode = pa.isInDebugMode;

        StartCoroutine(CheckDevice());
    }
コード例 #3
0
    void HandleValueChanged(Color _color)
    {
        if (isPlayerPrefsLoaded == false)
        {
            return;
        }

        var ycgco = ProcAmp.RGB2YCgCo(_color);

        // Set Key color to the material
        keyingMaterial.SetVector("_KeyCgCo", new Vector2(ycgco.y, ycgco.z));
        // Save color with PlayerPrefsX
        PlayerPrefsX.SetColor("_KeyCgCo", _color);
        //Debug.Log("Picker OnValueChanged");
    }
コード例 #4
0
 private void Start()
 {
     pa            = GetComponent <ProcAmp>();
     isInDebugMode = pa.isInDebugMode;
 }
コード例 #5
0
 private void Start()
 {
     pa              = GetComponent <ProcAmp>();
     isInDebugMode   = pa.isInDebugMode;
     m_keyboardinput = GetComponent <KeyboardInput>();
 }