This commit is contained in:
账号名 2024-01-26 10:22:30 +08:00
parent 226c930adf
commit 346d01f4fc
1 changed files with 11 additions and 0 deletions

View File

@ -145,6 +145,17 @@ public class DroneViewDisplay : MonoSingleton<DroneViewDisplay>
}
}
/// <summary>
/// 根据deviceID返回RenderTexture
/// </summary>
/// <param name="deviceID"></param>
/// <returns></returns>
public RenderTexture renderTextureTo(string deviceID)
{
RenderTexture radioAngleView = renderTextures.Find(x => x.name == deviceID);
return radioAngleView;
}
/// <summary>
/// 打开放大UI
/// </summary>