CubismDisplayInfoPartName.cs 809 B

1234567891011121314151617181920212223242526272829
  1. /**
  2. * Copyright(c) Live2D Inc. All rights reserved.
  3. *
  4. * Use of this source code is governed by the Live2D Open Software license
  5. * that can be found at https://www.live2d.com/eula/live2d-open-software-license-agreement_en.html.
  6. */
  7. using UnityEngine;
  8. namespace Live2D.Cubism.Framework
  9. {
  10. /// <summary>
  11. /// Get the part name from cdi3.json and save the display name.
  12. /// </summary>
  13. public class CubismDisplayInfoPartName : MonoBehaviour
  14. {
  15. /// <summary>
  16. /// Original name of the part from cdi3.json.
  17. /// </summary>
  18. [SerializeField,HideInInspector]
  19. public string Name;
  20. /// <summary>
  21. /// Name for display that can be changed by the user.
  22. /// </summary>
  23. [SerializeField]
  24. public string DisplayName;
  25. }
  26. }