unity-atoms/Source/Base/ScriptableObjectGameAction.cs

30 lines
719 B
C#
Raw Normal View History

2018-10-30 15:05:06 -04:00
using UnityEngine;
namespace UnityAtoms
{
public abstract class GameAction<T1> : ScriptableObject
{
public abstract void Do(T1 t1);
}
public abstract class GameAction<T1, T2> : ScriptableObject
{
public abstract void Do(T1 t1, T2 t2);
}
public abstract class GameAction<T1, T2, T3> : ScriptableObject
{
public abstract void Do(T1 t1, T2 t2, T3 t3);
}
public abstract class GameAction<T1, T2, T3, T4> : ScriptableObject
{
public abstract void Do(T1 t1, T2 t2, T3 t3, T4 t4);
}
public abstract class GameAction<T1, T2, T3, T4, T5> : ScriptableObject
{
public abstract void Do(T1 t1, T2 t2, T3 t3, T4 t4, T5 t5);
}
}