public static Danmaku GetInactive()
 {
     return(danmakuPool.Get());
 }
Пример #2
0
 /// <summary>
 /// Creates and fires a single bullet based on a given config.
 /// </summary>
 /// <param name="config">the config for creating the bullet</param>
 /// <returns>the created bullet</returns>
 public Danmaku Fire(DanmakuConfig config) => Pool.Get(config);