mirror of
https://github.com/tym1116/BH3.git
synced 2025-12-17 00:44:49 +01:00
Fix UI Shader
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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++));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user