This commit is contained in:
niko
2026-06-04 11:42:34 +02:00
parent f39ba70a9f
commit e720b98cd1
7488 changed files with 2493818 additions and 0 deletions
+34
View File
@@ -0,0 +1,34 @@
using System;
using UnityEngine;
// Token: 0x0200122B RID: 4651
public abstract class PrefabSpawner<T> : Spawner where T : Component
{
// Token: 0x06027F09 RID: 163593 RVA: 0x00B1F3C8 File Offset: 0x00B1D5C8
protected override bool AFMFBONFMDO()
{
if (this.prefab == null)
{
Debug.LogWarning("PrefabSpawner.TrySpawn(): Prefab is null.");
return false;
}
this.FCDPFLMFDBC = global::UnityEngine.Object.Instantiate<T>(this.prefab, base.transform, false);
this.FCDPFLMFDBC.transform.localPosition = Vector3.zero;
this.FCDPFLMFDBC.transform.localRotation = Quaternion.identity;
this.FCDPFLMFDBC.transform.localScale = Vector3.one;
this.FCDPFLMFDBC.gameObject.hideFlags = HideFlags.NotEditable;
return true;
}
// Token: 0x06027F0A RID: 163594 RVA: 0x00B1F478 File Offset: 0x00B1D678
protected override void DMODLLAELMG()
{
}
// Token: 0x040063A9 RID: 25513
[SerializeField]
private T prefab;
// Token: 0x040063AA RID: 25514
protected T FCDPFLMFDBC;
}