mirror of
https://github.com/unity-atoms/unity-atoms.git
synced 2025-01-24 00:58:59 -05:00
15 lines
324 B
C#
15 lines
324 B
C#
using UnityEngine;
|
|
using UnityAtoms.BaseAtoms;
|
|
|
|
namespace UnityAtoms.Examples
|
|
{
|
|
[CreateAssetMenu(menuName = "Unity Atoms/Examples/Intro/Health Logger")]
|
|
public sealed class HealthLogger : IntAction
|
|
{
|
|
public override void Do(int health)
|
|
{
|
|
Debug.Log("<3: " + health);
|
|
}
|
|
}
|
|
}
|