Exemple #1
0
 internal static void InitAPI()
 {
     BasePickupGameObject = FakePrefab.Clone(ETGMod.Items["gungeon:ammo"].gameObject);
     UnityEngine.Object.Destroy(BasePickupGameObject.GetComponent <PickupObject>());
 }
Exemple #2
0
 public static T Create <T>() where T : PickupObject
 {
     return(FakePrefab.Clone(BasePickupGameObject).AddComponent <T>());
 }