mirror of
https://github.com/FriendshipIsEpic/FiE-Game.git
synced 2024-11-27 15:57:59 +01:00
16 lines
319 B
C#
16 lines
319 B
C#
using UnityEngine;
|
|
|
|
namespace Fie.Utility
|
|
{
|
|
public class FiePostProcessSegiDisabler : FiePostProcessContainer
|
|
{
|
|
public override void PostHook(GameObject targetObject)
|
|
{
|
|
SEGI component = targetObject.transform.GetComponent<SEGI>();
|
|
if (!(component == null))
|
|
{
|
|
component.enabled = false;
|
|
}
|
|
}
|
|
}
|
|
}
|