docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class CreateFromDataBase

    Base class for creating from trait data.

    Inheritance
    object
    CreateFromDataBase
    CreateProxyFromData
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.MARS.Authoring
    Assembly: Unity.MARS.dll
    Syntax
    [MovedFrom("Unity.MARS")]
    public abstract class CreateFromDataBase

    Fields

    ObjectParent

    Declaration
    protected Transform ObjectParent
    Field Value
    Type Description
    Transform

    m_CreatedObject

    Declaration
    protected GameObject m_CreatedObject
    Field Value
    Type Description
    GameObject

    m_Replicate

    Declaration
    protected bool m_Replicate
    Field Value
    Type Description
    bool

    m_Replicator

    Declaration
    protected Replicator m_Replicator
    Field Value
    Type Description
    Replicator

    Properties

    MaxCount

    The max count for the created replicator. If set to 1, there will be no replicator. 0 indicates infinite matches.

    Declaration
    public int MaxCount { get; set; }
    Property Value
    Type Description
    int

    Replicate

    If enabled, the created object will be replicated for all matches. The max instance count can be set via SetMaxCount

    Declaration
    public bool Replicate { get; set; }
    Property Value
    Type Description
    bool

    Methods

    SetupReplicator()

    Declaration
    protected void SetupReplicator()
    In This Article
    Back to top
    Copyright © 2025 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)