private void Start() { if (NativePlugin.Init()) { // Find the index for the video codec _videoCodec = CodecManager.FindCodec(CodecType.Video, X264CodecName); if (_videoCodec == null) { _videoCodec = CodecManager.FindCodec(CodecType.Video, FallbackCodecName); } } else { this.enabled = false; } }