Ink.Parsed.Weave.AddGeneralRuntimeContent C# (CSharp) Method

AddGeneralRuntimeContent() public method

public AddGeneralRuntimeContent ( Runtime content ) : void
content Runtime
return void
        void AddGeneralRuntimeContent(Runtime.Object content)
        {
            // Content is allowed to evaluate runtimeObject to null
            // (e.g. AuthorWarning, which doesn't make it into the runtime)
            if (content == null)
                return;
            
            if (addContentToPreviousWeavePoint) {
                previousWeavePoint.runtimeContainer.AddContent (content);
            } else {
                currentContainer.AddContent (content);
            }
        }