Diff
checker
Texte
Texte
Images
Documents
Excel
Dossiers
Legal
Enterprise
Application de bureau
Prix
Se connecter
Télécharger Diffchecker Desktop
Comparer le texte
Trouver la différence entre deux fichiers texte
Outils
Historique
Éditeur live
Cacher identiques
Sans retour à la ligne
Vue
Divisé
Unifié
Niveau de précision
Intelligent
Mot
Caractère
Coloration syntaxique
Choisir la syntaxe
Ignorer
Transformer le texte
Aller au premier écart
Modifier l'entrée
Diffchecker Desktop
La façon la plus sécurisée d'utiliser Diffchecker. Obtenez l'application Diffchecker Desktop : vos diffs ne quittent jamais votre ordinateur !
Obtenir Desktop
System1 vs System2
Créé
l’année dernière
Le diff n'expire jamais
Effacer
Exporter
Partager
Expliquer
6 suppressions
Lignes
Total
Supprimé
Caractères
Total
Supprimé
Pour continuer à utiliser cette fonctionnalité, passez à
Diff
checker
Pro
Voir les prix
38 lignes
Copier tout
14 ajouts
Lignes
Total
Ajouté
Caractères
Total
Ajouté
Pour continuer à utiliser cette fonctionnalité, passez à
Diff
checker
Pro
Voir les prix
46 lignes
Copier tout
[CompilerGenerated]
[CompilerGenerated]
Copier
Copié
Copier
Copié
public partial struct SampleSystem
1
: ISystemCompilerGenerated
public partial struct SampleSystem
2
: ISystemCompilerGenerated
{
{
void __OnUpdate_6D4E9467(ref SystemState state)
void __OnUpdate_6D4E9467(ref SystemState state)
{
{
Copier
Copié
Copier
Copié
var
tick
= __query_10241205
66
_0.GetSingleton
<Tick>();
var
tickEntity
= __query_10241205
82
_0.GetSingleton
Entity();
var tick = Internal.InternalCompilerInterface.GetComponentAfterCompletingDependency<Tick>(
ref __TypeHandle.__Module_EntitySystems_Tick_RO_ComponentLookup,
ref state,
tickEntity);
}
}
TypeHandle __TypeHandle;
TypeHandle __TypeHandle;
Copier
Copié
Copier
Copié
EntityQuery __query_10241205
66
_0;
EntityQuery __query_10241205
82
_0;
struct TypeHandle
struct TypeHandle
{
{
Copier
Copié
Copier
Copié
[ReadOnly] public ComponentLookup<Tick> __Module_EntitySystems_Tick_RO_ComponentLookup;
public void __AssignHandles(ref SystemState state)
public void __AssignHandles(ref SystemState state)
{
{
Copier
Copié
Copier
Copié
__Module_EntitySystems_Tick_RO_ComponentLookup = state.GetComponentLookup<Tick>(true);
}
}
Copier
Copié
Copier
Copié
}
}
void __AssignQueries(ref SystemState state)
void __AssignQueries(ref SystemState state)
{
{
var entityQueryBuilder = new EntityQueryBuilder(Allocator.Temp);
var entityQueryBuilder = new EntityQueryBuilder(Allocator.Temp);
Copier
Copié
Copier
Copié
__query_10241205
66
_0 =
__query_10241205
82
_0 =
entityQueryBuilder
entityQueryBuilder
.WithAll<global::Module.EntitySystems.Tick>()
.WithAll<global::Module.EntitySystems.Tick>()
.WithOptions(EntityQueryOptions.IncludeSystems)
.WithOptions(EntityQueryOptions.IncludeSystems)
.Build(ref state);
.Build(ref state);
entityQueryBuilder.Reset();
entityQueryBuilder.Reset();
entityQueryBuilder.Dispose();
entityQueryBuilder.Dispose();
}
}
public void OnCreateForCompiler(ref SystemState state)
public void OnCreateForCompiler(ref SystemState state)
{
{
__AssignQueries(ref state);
__AssignQueries(ref state);
__TypeHandle.__AssignHandles(ref state);
__TypeHandle.__AssignHandles(ref state);
}
}
}
}
Différences enregistrées
Texte d'origine
Ouvrir un fichier
[CompilerGenerated] public partial struct SampleSystem1 : ISystemCompilerGenerated { void __OnUpdate_6D4E9467(ref SystemState state) { var tick = __query_1024120566_0.GetSingleton<Tick>(); } TypeHandle __TypeHandle; EntityQuery __query_1024120566_0; struct TypeHandle { public void __AssignHandles(ref SystemState state) { } } void __AssignQueries(ref SystemState state) { var entityQueryBuilder = new EntityQueryBuilder(Allocator.Temp); __query_1024120566_0 = entityQueryBuilder .WithAll<global::Module.EntitySystems.Tick>() .WithOptions(EntityQueryOptions.IncludeSystems) .Build(ref state); entityQueryBuilder.Reset(); entityQueryBuilder.Dispose(); } public void OnCreateForCompiler(ref SystemState state) { __AssignQueries(ref state); __TypeHandle.__AssignHandles(ref state); } }
Texte modifié
Ouvrir un fichier
[CompilerGenerated] public partial struct SampleSystem2 : ISystemCompilerGenerated { void __OnUpdate_6D4E9467(ref SystemState state) { var tickEntity = __query_1024120582_0.GetSingletonEntity(); var tick = Internal.InternalCompilerInterface.GetComponentAfterCompletingDependency<Tick>( ref __TypeHandle.__Module_EntitySystems_Tick_RO_ComponentLookup, ref state, tickEntity); } TypeHandle __TypeHandle; EntityQuery __query_1024120582_0; struct TypeHandle { [ReadOnly] public ComponentLookup<Tick> __Module_EntitySystems_Tick_RO_ComponentLookup; public void __AssignHandles(ref SystemState state) { __Module_EntitySystems_Tick_RO_ComponentLookup = state.GetComponentLookup<Tick>(true); } } void __AssignQueries(ref SystemState state) { var entityQueryBuilder = new EntityQueryBuilder(Allocator.Temp); __query_1024120582_0 = entityQueryBuilder .WithAll<global::Module.EntitySystems.Tick>() .WithOptions(EntityQueryOptions.IncludeSystems) .Build(ref state); entityQueryBuilder.Reset(); entityQueryBuilder.Dispose(); } public void OnCreateForCompiler(ref SystemState state) { __AssignQueries(ref state); __TypeHandle.__AssignHandles(ref state); } }
Trouver la différence