Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Feature/urp blur#135

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
cs-util wants to merge24 commits intomaster
base:master
Choose a base branch
Loading
fromfeature/urpBlur
Open
Show file tree
Hide file tree
Changes from1 commit
Commits
Show all changes
24 commits
Select commitHold shift + click to select a range
88285ef
Testing if there is a better way to wait for the io operations to be …
cs-utilJul 16, 2025
6aacca8
Some validation and description field added to json schema mode
cs-utilJul 19, 2025
aea4016
Working on a fix for custom named json attributes
cs-utilJul 20, 2025
3ba4d4c
Further json schema generator improvements
cs-utilJul 20, 2025
9c914d8
Removed deprecated max_tokens concept from OpenAI API
cs-utilJul 23, 2025
d93c1db
Introduced an items wrapper as a minimal change to become compatible …
cs-utilJul 27, 2025
59ec072
Assertion cleanup for namespaces the developers do not have control over
cs-utilJul 27, 2025
27a4c50
Added another test for further OpenAI strict json schema responses
cs-utilJul 27, 2025
fe3f58b
Moved if check for enum descriptions in json schema further up to als…
cs-utilJul 27, 2025
2f674e0
Improved json schema generator to convert enums to strings in schema …
cs-utilJul 27, 2025
7964dd4
Further improvements to the new strict json response tests
cs-utilJul 27, 2025
586742c
Improvements to the ToTitle method
cs-utilJul 27, 2025
316035e
Fixed that tokens could no longer be limitted via API (see https://gi…
cs-utilJul 27, 2025
a5d8d55
https://github.com/cs-util-com/cscore/pull/134#discussion_r2233764038
cs-utilJul 27, 2025
5752361
https://github.com/cs-util-com/cscore/pull/134#discussion_r2233764040
cs-utilJul 27, 2025
268bb6e
https://github.com/cs-util-com/cscore/pull/134#discussion_r2233764041
cs-utilJul 27, 2025
3a18347
Added workflow to run the xunit tests on any changes
cs-utilJul 28, 2025
13f3691
Tested to create a URP compatible blur shader that would replace the …
cs-utilAug 13, 2025
0e1ba27
Improved the shader to have a stronger blur effect
cs-utilAug 13, 2025
28b6a8b
Further improved Single-Pass Blur via circular sampling pattern
cs-utilAug 13, 2025
178b444
Further improvements and formatting fixes
cs-utilAug 13, 2025
db9476f
Trying to also blur world space uis
cs-utilAug 13, 2025
c43c0c7
further tests with new blur material
cs-utilAug 13, 2025
3061335
Tweeks to example urp blur material
cs-utilAug 14, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
Improvements to the ToTitle method
  • Loading branch information
@cs-util
cs-util committedJul 27, 2025
commit586742c48427a79eaf3a1172dbbf454e9620af07
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -46,10 +46,10 @@ public static class RegexTemplates {

public static class RegexUtil {

private static Regex camelCaseSplitter = new Regex(@"(\B[A-Z]+?(?=[A-Z][^A-Z_])|\B[A-Z]+?(?=[^A-Z_]))", RegexOptions.Compiled);
private static Regex camelCaseSplitter = new Regex(@"(?<!^)(?=[A-Z][a-z])|(?<=[a-z])(?=[A-Z])|(?<=[A-Za-z])(?=[0-9])|(?<=[0-9])(?=[A-Za-z])", RegexOptions.Compiled);

public static string SplitCamelCaseString(string camelCaseString) {
return camelCaseSplitter.Replace(camelCaseString, " $1").ToFirstCharUpperCase();
return camelCaseSplitter.Replace(camelCaseString, " $0").ToFirstCharUpperCase();
}

/// <summary> Combines multiple regex via AND </summary>
Expand Down
Original file line numberDiff line numberDiff line change
Expand Up@@ -86,7 +86,10 @@ public static string ToTitle(string varName) {
var words = RegexUtil.SplitCamelCaseString(varName).Split(' ');
var words2 = words.SelectMany(x => x.Split('_'));
words2 = words2.Where(x => !x.IsNullOrEmpty());
return string.Join(" ", words2.Select(x => x.First().ToString().ToUpper() + x.Substring(1)));
return string.Join(" ", words2.Select(x => {
if (x.Length > 1) { return x.First().ToString().ToUpper() + x.Substring(1); }
return x;
}));
}

}
Expand Down
Original file line numberDiff line numberDiff line change
Expand Up@@ -173,6 +173,11 @@ public void TestToTitleHelperMethod() {
Assert.Equal("Custom Name", JsonSchema.ToTitle("_Custom_name"));
Assert.Equal("Custom Name", JsonSchema.ToTitle("_custom_name"));
Assert.Equal("Custom Name", JsonSchema.ToTitle("custom__name"));
Assert.Equal("Custom Name 2", JsonSchema.ToTitle("customName2"));
Assert.Equal("Custom Name 22", JsonSchema.ToTitle("customName_22"));
Assert.Equal("2 Custom Name", JsonSchema.ToTitle("2CustomName"));
Assert.Equal("Custom 2 Name", JsonSchema.ToTitle("Custom2Name"));
Assert.Equal("Custom 22 Name", JsonSchema.ToTitle("Custom_22_Name"));
}

[Fact]
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp