ドキュメント

Unity Engine

Unity Engine

ToString()

Returns a readable string describing this reference.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: Unity.Localization
  • Assembly: UnityEngine.LocalizationRuntimeModule
public override string ToString()

Returns

Type

Description

stringA human-readable description of the reference.

Remarks

Formats a GUID reference as "Guid:" followed by the GUID, a name reference as the name itself, and an empty reference as \<none\>. Intended for debugging and logging.
Log the reference for debugging.

Examples

using Unity.Localization;using UnityEngine;namespace Unity.Localization.Samples{ public class TableReferenceToStringExample { public void Run(TableReference reference) { Debug.Log(reference.ToString()); } }}