This commit is contained in:
parent
226c930adf
commit
346d01f4fc
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue