Class Person | Localization | 0.6.1-preview
docs.unity3d.com
    Show / Hide Table of Contents

    Class Person

    Inheritance
    Object
    Person
    Namespace: UnityEngine.Localization.SmartFormat.Tests
    Syntax
    [Serializable]
    public class Person

    Constructors

    Person()

    Declaration
    public Person()

    Person(String, Gender, DateTime, String, Person[])

    Declaration
    public Person(string newName, Gender gender, DateTime newBirthday, string newAddress, params Person[] newFriends)
    Parameters
    Type Name Description
    String newName
    Gender gender
    DateTime newBirthday
    String newAddress
    Person[] newFriends

    Properties

    Address

    Declaration
    public Address Address { get; set; }
    Property Value
    Type Description
    Address

    Age

    Declaration
    public int Age { get; }
    Property Value
    Type Description
    Int32

    Birthday

    Declaration
    public DateTime Birthday { get; set; }
    Property Value
    Type Description
    DateTime

    FirstName

    Declaration
    public string FirstName { get; set; }
    Property Value
    Type Description
    String

    Friends

    Declaration
    public List<Person> Friends { get; set; }
    Property Value
    Type Description
    List<Person>

    FullName

    Declaration
    public string FullName { get; set; }
    Property Value
    Type Description
    String

    Gender

    Declaration
    public Gender Gender { get; set; }
    Property Value
    Type Description
    Gender

    LastName

    Declaration
    public string LastName { get; set; }
    Property Value
    Type Description
    String

    MiddleName

    Declaration
    public string MiddleName { get; set; }
    Property Value
    Type Description
    String

    Name

    Declaration
    public string Name { get; }
    Property Value
    Type Description
    String

    NumberOfFriends

    Declaration
    public int NumberOfFriends { get; }
    Property Value
    Type Description
    Int32

    Spouse

    Declaration
    public Person Spouse { get; set; }
    Property Value
    Type Description
    Person

    Methods

    Random()

    Declaration
    public int Random()
    Returns
    Type Description
    Int32

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    String
    Overrides
    Object.ToString()
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023