Unity/おすすめアセット/HeroEditor4D/2024年頃
提供: 初心者エンジニアの簡易メモ
目次
2022年と比較して2024年ごろのパス変更
その1
新 Assets.HeroEditor4D.Common.Scripts.CharacterScripts.Character4D 旧 Assets.HeroEditor4D.Common.CharacterScripts.Character4D
その2
新 Assets.HeroEditor4D.Common.Scripts.Enums.CharacterState.Idle 旧 Assets.HeroEditor4D.Common.CharacterScripts.CharacterState.Idle
その3
旧 HeroEditor.Common 新 Assets.HeroEditor4D.Common.Scripts.EditorScripts
HumanのJson化処理とデータ
HumanのJson化処理
[SerializeField] prefab; // Humanデータ enemyObj = Instantiate(prefab, Vector3.zero, Quaternion.identity, parent.transform); Character4D character4D = enemyObj.GetComponent<Character4D>(); Debug.Log(character4D.Front.ToJson()); // jsonデータ
HumanのJsonデータ
{"Body":"Common.Basic.Body.HumanPants#00000000","Ears":"Common.Basic.Ears.Human#00000000","Hair":"Common.Basic.Hair.Default","Beard":null,"Helmet":"FantasyHeroes.Basic.Armor.BanditArmor","Armor":"FantasyHeroes.Basic.Armor.BanditArmor,FantasyHeroes.Basic.Armor.BanditArmor,FantasyHeroes.Basic.Armor.BanditArmor,FantasyHeroes.Basic.Armor.BanditArmor,FantasyHeroes.Basic.Armor.BanditArmor,FantasyHeroes.Basic.Armor.BanditArmor,FantasyHeroes.Basic.Armor.BanditArmor,FantasyHeroes.Basic.Armor.BanditArmor,FantasyHeroes.Basic.Armor.BanditArmor","Back":null,"Wings":null,"Shield":"FantasyHeroes.Basic.Shield.WoodenBuckler","WeaponType":"Melee1H","Expression":"Default","HideEars":"True","CropHair":"True","Makeup":null,"Mask":null,"Earrings":null,"PrimaryWeapon":"FantasyHeroes.Basic.MeleeWeapon1H.ShortSword","Expression.Default.Eyebrows":"Common.Basic.Eyebrows.Default","Expression.Default.Eyes":"Common.Basic.Eyes.Boy#00C8FFFF","Expression.Default.EyesColor":"#00C8FFFF","Expression.Default.Mouth":"Common.Basic.Mouth.Default","Expression.Angry.Eyebrows":"Common.Emoji.Eyebrows.AngryEyebrows","Expression.Angry.Eyes":"Common.Emoji.Eyes.AngryEyes3#00C8FFFF","Expression.Angry.EyesColor":"#00C8FFFF","Expression.Angry.Mouth":"Common.Emoji.Mouth.AngryMouth1","Expression.Dead.Eyebrows":"Common.Emoji.Eyebrows.DeadEyebrows1","Expression.Dead.Eyes":"Common.Emoji.Eyes.DeadEyes4#00C8FFFF","Expression.Dead.EyesColor":"#00C8FFFF","Expression.Dead.Mouth":"Common.Emoji.Mouth.DeadMouth4","Expression.Happy.Eyebrows":"Common.Emoji.Eyebrows.DeadEyebrows1","Expression.Happy.Eyes":"Common.Emoji.Eyes.HappyEyes#00C8FFFF","Expression.Happy.EyesColor":"#00C8FFFF","Expression.Happy.Mouth":"Common.Basic.Mouth.Smirk"}