r2mods/ilspy_dump/ror2_csproj/AkGameObjUtil.cs

13 lines
264 B
C#
Raw Normal View History

2024-10-04 07:26:37 +00:00
using UnityEngine;
public static class AkGameObjUtil
{
public static void SetAkGameObjectStatic(GameObject gameObj, bool staticSetting)
{
if (gameObj.TryGetComponent<AkGameObj>(out var component))
{
component.isStaticAfterDelay = staticSetting;
}
}
}