17 lines
441 B
C#
17 lines
441 B
C#
using System;
|
|
using SLSUtilities.FunctionalAnimation;
|
|
using UnityEngine;
|
|
|
|
namespace Cielonos.MainGame.FunctionalAnimation
|
|
{
|
|
[Serializable]
|
|
public class InvokeAnimScFunction : FuncAnimPayloadBase
|
|
{
|
|
public string functionKey = "FunctionKey";
|
|
|
|
public override void Invoke()
|
|
{
|
|
runtimeFuncAnim.executor.animationSc.registeredFunctions[functionKey].Invoke(runtimeFuncAnim);
|
|
}
|
|
}
|
|
} |