Fix UI Shader

This commit is contained in:
tym
2025-09-11 15:00:19 +08:00
parent 60f8c15ee3
commit 4ff743ce2b
88 changed files with 6135 additions and 3889 deletions

View File

@@ -18,7 +18,7 @@ namespace CinemaDirector
private void Update()
{
string filename = string.Format("{0}/shot {1:D04}.png", Folder, Time.frameCount);
Application.CaptureScreenshot(filename);
ScreenCapture.CaptureScreenshot(filename);
}
}
}

View File

@@ -9,7 +9,7 @@ namespace CinemaDirector
public override void Trigger(GameObject actor)
{
NavMeshAgent component = actor.GetComponent<NavMeshAgent>();
UnityEngine.AI.NavMeshAgent component = actor.GetComponent<UnityEngine.AI.NavMeshAgent>();
if (component != null)
{
component.SetDestination(target);

View File

@@ -11,7 +11,7 @@ namespace CinemaDirector
public override void Trigger()
{
Application.CaptureScreenshot(string.Format("Assets\\{0}{1}.png", base.gameObject.name, Count++));
ScreenCapture.CaptureScreenshot(string.Format("Assets\\{0}{1}.png", base.gameObject.name, Count++));
}
}
}

View File

@@ -14,6 +14,9 @@ public struct UniWebViewMessage
public UniWebViewMessage(string rawMessage)
{
this.path = null;
this.scheme = null;
this.args = null;
this.rawMessage = rawMessage;
string[] array = rawMessage.Split(new string[1] { "://" }, StringSplitOptions.None);
if (array.Length >= 2)

View File

@@ -1,22 +1,30 @@
fileFormatVersion: 2
guid: 9c4a19ccd81ab3ecac0f508827304d31
timeCreated: 1749699017
licenseType: Free
PluginImporter:
name:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
isPreloaded: 0
isOverridable: 0
platformData:
Any:
- first:
Any:
second:
enabled: 1
settings: {}
Editor:
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
output:
pluginType: 0
userData:
assetBundleName:
assetBundleVariant:
- first:
Windows Store Apps: WindowsStoreApps
second:
enabled: 0
settings:
CPU: AnyCPU
userData:
assetBundleName:
assetBundleVariant: