// Use this for initialization void Start () { customResolutionScript = GetComponent<SyphonServerTextureCustomResolution>(); customResolutionScript.CreatedRenderTexture += CreatedOrResizedRenderTexture; if(customResolutionScript.customRenderTexture != null){ CreatedOrResizedRenderTexture(customResolutionScript.customRenderTexture); } }
// Use this for initialization void Start() { customResolutionScript = GetComponent <SyphonServerTextureCustomResolution>(); customResolutionScript.CreatedRenderTexture += CreatedOrResizedRenderTexture; if (customResolutionScript.customRenderTexture != null) { CreatedOrResizedRenderTexture(customResolutionScript.customRenderTexture); } }