mirror of
https://github.com/AssetRipper/AssetRipper.git
synced 2025-12-11 20:15:29 +01:00
19 lines
536 B
C#
19 lines
536 B
C#
using AssetRipper.SourceGenerated.Classes.ClassID_115;
|
|
|
|
namespace AssetRipper.SourceGenerated.Extensions;
|
|
|
|
public static class MonoScriptExtensions
|
|
{
|
|
public static bool IsFullNameEqual(this IMonoScript _this, IMonoScript other)
|
|
{
|
|
return _this.AssemblyName == other.AssemblyName
|
|
&& _this.Namespace == other.Namespace
|
|
&& _this.ClassName_R == other.ClassName_R;
|
|
}
|
|
|
|
public static bool IsType(this IMonoScript _this, string @namespace, string name)
|
|
{
|
|
return _this.Namespace == @namespace && _this.ClassName_R == name;
|
|
}
|
|
}
|