Documentation index for AI agents (llms.txt) A Markdown version of every page is available: request the page's source under /docs/, follow the "alternate" link in this page's head, or start from /llms.txt.
Game Creator 3 logo Dialogue

Dialogue Skin#

Game Creator / Dialogue / Dialogue Skin

  • Can Read

  • Cannot Write

Description#

A Dialogue Skin asset reference

Code#

using System;
using UnityEngine;
using VisualScript.Runtime;
using VisualScript.Icons;

namespace GameCreator.Runtime.Dialogue
{
    [Get]

    [Inline(nameof(m_Value), typeof(DialogueSkin), false)]

    [Title("Dialogue Skin")]
    [Category("Game Creator/Dialogue/Dialogue Skin")]

    [Description("A Dialogue Skin asset reference")]
    [Image(typeof(IconDialogue), ColorTheme.Type.Blue, typeof(BadgeSkin))]

    [Keywords("Dialogue", "Story", "UI")]

    [Serializable]
    public class TypeScriptableObjectDialogueSkin : TypeScriptableObject
    {
        [SerializeField] private DialogueSkin m_Value;

        public override ScriptableObject GetPreview(GameObject source) => this.m_Value;

        public TypeScriptableObjectDialogueSkin() : this(null)
        { }

        public TypeScriptableObjectDialogueSkin(DialogueSkin value)
        {
            this.m_Value = value;
        }

        public override ScriptableObject Get(Args args)
        {
            return this.m_Value;
        }

        public override string ToString()
        {
            return TextUtils.Name(this.m_Value);
        }

        protected override SubscriptionMode Subscription => SubscriptionMode.OnEditorChange;
    }
}
Game Creator 3 logoGame Creator 3 © Catsoft Works 2026. All rights reserved.