r2mods/ilspy_dump/ror2_csproj/AkGameObjUtil.cs

13 lines
264 B
C#

using UnityEngine;
public static class AkGameObjUtil
{
public static void SetAkGameObjectStatic(GameObject gameObj, bool staticSetting)
{
if (gameObj.TryGetComponent<AkGameObj>(out var component))
{
component.isStaticAfterDelay = staticSetting;
}
}
}