19 lines
390 B
C#
19 lines
390 B
C#
|
|
using DamageNumbersPro;
|
||
|
|
using UnityEngine;
|
||
|
|
|
||
|
|
namespace Cielonos.MainGame
|
||
|
|
{
|
||
|
|
public class DamageNumberText : MonoBehaviour
|
||
|
|
{
|
||
|
|
public DamageNumber main;
|
||
|
|
}
|
||
|
|
|
||
|
|
public static class DamageNumberTextExtensions
|
||
|
|
{
|
||
|
|
public static DamageNumberText Spawn(this DamageNumberText prefab)
|
||
|
|
{
|
||
|
|
prefab.main.Spawn();
|
||
|
|
return prefab;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|