This repository has been archived on 2026-04-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
SHI-GIS/Assets/PE_Library/Scripts/Strategy/TransparentBgStrategy.cs

10 lines
239 B
C#

using UnityEngine;
public class TransparentBgStrategy : IBackgroundStrategy
{
public void ConfigCamera(Camera camera)
{
camera.clearFlags = CameraClearFlags.SolidColor;
camera.backgroundColor = Color.clear;
}
}