public void SetUp() { GameObject obj = new GameObject(); obj.SetActive(false); component = obj.AddComponent <RenderStreaming>(); }