示例#1
0
 public static void Spawn(EffectSpawnerDef effect, Map map, Vector3 position, float angle = 0f)
 {
     if (effect != null)
     {
         effect.Spawn(map, position, angle);
     }
 }
示例#2
0
 public static void Spawn(EffectSpawnerDef effect, Pawn pawn, float angle = 0f)
 {
     Spawn(effect, pawn.Map, pawn.TrueCenter(), angle);
 }