Files
AR-Menu/Library/PackageCache/com.needle.engine-exporter@8c046140a1d9/Addressables/Editor/OperationHandleMembers.cs
2025-11-30 08:35:03 +02:00

25 lines
546 B
C#

#if HAS_ADDRESSABLES
using System;
using System.Collections;
using System.Reflection;
using Needle.Engine.Core.References;
using UnityEngine.ResourceManagement.AsyncOperations;
namespace Needle.Engine.Addressables
{
public class OperationHandleMembers : ITypeMemberHandler
{
public bool ShouldIgnore(Type currentType, MemberInfo member)
{
return typeof(AsyncOperationHandle).IsAssignableFrom(currentType);
}
public bool ShouldRename(MemberInfo member, out string newName)
{
newName = null;
return false;
}
}
}
#endif