GameType.cs 503 B

1234567891011121314151617181920
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. using static GameManager;
  5. public class GameType : MonoBehaviour
  6. {
  7. public GameObjectType type;
  8. public TapName tapName;
  9. private void Awake() {
  10. this.name = InitTapList.GetChineseDescription(type)+"_"+InitTapList.GetChineseDescription(tapName);
  11. }
  12. public void init()
  13. {
  14. this.name = InitTapList.GetChineseDescription(type)+"_"+InitTapList.GetChineseDescription(tapName);
  15. }
  16. }