docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method CreateOccurrenceFromText

    CreateOccurrenceFromText(string, string, int, ColorAlpha?, double)

    Creates an occurrence from string

    Declaration
    public uint CreateOccurrenceFromText(string text, string font = "ChicFont", int fontSize = 64, ColorAlpha? color = null, double heigth3D = 40)
    Parameters
    Type Name Description
    string text

    The occurrence's name

    string font

    The font to use

    int fontSize

    The font size

    ColorAlpha? color

    The occurrence color

    double heigth3D

    3D height of text

    Returns
    Type Description
    uint
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)