10 lines
239 B
C#
10 lines
239 B
C#
using UnityEngine;
|
|
|
|
public class TransparentBgStrategy : IBackgroundStrategy
|
|
{
|
|
public void ConfigCamera(Camera camera)
|
|
{
|
|
camera.clearFlags = CameraClearFlags.SolidColor;
|
|
camera.backgroundColor = Color.clear;
|
|
}
|
|
} |