/// <summary> /// Initializes a new instance of the <see cref="VideoPrivacy" /> class. /// </summary> /// <param name="add">Whether the video can be added to collections. (required).</param> /// <param name="comments">Who can comment on the video: Option descriptions: * `anybody` - Anyone can comment on the video. * `contacts` - Only contacts can comment on the video. * `nobody` - No one can comment on the video. (required).</param> /// <param name="download">The video's download permission setting. (required).</param> /// <param name="embed">The video's embed permission setting: Option descriptions: * `private` - The video is private. * `public` - Anyone can embed the video. (required).</param> /// <param name="view">The general privacy setting for the video: Option descriptions: * `anybody` - Anyone can view the video. * `contacts` - Only contacts can view the video. * `disable` - Hide from vimeo * `nobody` - No one besides the owner can view the video. * `password` - Anyone with the video's password can view the video. * `unlisted` - Not searchable from vimeo.com * `users` - Only people with a Vimeo account can view the video. (required).</param> public VideoPrivacy(bool add = default(bool), CommentsEnum comments = default(CommentsEnum), bool download = default(bool), EmbedEnum embed = default(EmbedEnum), ViewEnum view = default(ViewEnum)) { this.Add = add; this.Comments = comments; this.Download = download; this.Embed = embed; this.View = view; }
public static void Log(CommentsEnum action) { string randomString = GetRandomStringFromList(actions[(int)action]); GameManager.instance.logs.AddText(randomString); }