예제 #1
0
                public Action <BaseEventData> GetRuntimeCall(TriggerEvent te)
                {
                    if (_callState == UnityEventCallState.RuntimeOnly && !Application.isPlaying || (_callState == UnityEventCallState.Off))
                    {
                        return(null);
                    }
                    var method = te.FindMethod(this);

                    if (method == null)
                    {
                        return(null);
                    }
                    // TODO complete this switch case
                    return(CreateDelegate(TargetCommand, method, Arguments, Mode));
                }