mirror of
https://github.com/FriendshipIsEpic/FiE-Game.git
synced 2024-11-26 23:37:59 +01:00
17 lines
319 B
C#
17 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;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|