Ejemplo n.º 1
0
    /// <summary>
    /// イベント処理
    /// </summary>
    public IEnumerator EventCoroutine(NovelCommand.EventData data)
    {
        if (command == null)
        {
            yield break;
        }
        if (sharedData == null)
        {
            yield break;
        }
        if (sharedVariable == null)
        {
            yield break;
        }
        if (data == null)
        {
            yield break;
        }

        yield return(command.Event(sharedData, sharedVariable, data));
    }
Ejemplo n.º 2
0
    public IEnumerator EventCoroutine(NovelCommand.EventData eData)
    {
        if (command == null)
        {
            yield break;
        }
        if (commonData == null)
        {
            yield break;
        }
        if (commonVariable == null)
        {
            yield break;
        }
        if (eData == null)
        {
            yield break;
        }

        yield return(command.Event(commonData, commonVariable, eData));
    }