GetProjectile() 공개 정적인 메소드

public static GetProjectile ( int type ) : ModProjectile
type int
리턴 ModProjectile
예제 #1
0
 /// <summary>
 /// Gets the ModProjectile instance corresponding to the specified type.
 /// </summary>
 /// <param name="type">The type of the projectile</param>
 /// <returns>The ModProjectile instance in the projectiles array, null if not found.</returns>
 public static ModProjectile GetModProjectile(int type) => ProjectileLoader.GetProjectile(type);