To add “Skills”:
Add SkillInventory to MenuWindow, (in inspector of Unity, we can connect script and parameters)
Add updateSkills in MainMenu.cs,
MenuRoot.cs
Add Skills to BattleWindow, I’m wondering why it is not disappeared
List<Skill> Skills to BattleParameter.cs
hey, each skill has level, and each monster and character has its own level. need modification.-> solved. divide skill object.
where is total initialization script!? -> Start() method in Player.cs should be one of them. additionally, CopyTo() in BattleParameter.cs might be the place to implement.
Previous code was to pass the just refference. I modified to pass the copied Skill objects, then initialization was successfully implemented.
add Skill dynamically
try to use skilllist asset which have all skills to find Skill object in the C# script, then if find the object, add the Skills List which is a member of BattleParameter しかし、Copy時には、Skillのレベルは元のままで、そのままコピーされる。ここもなんらかのCopyメソッドを作って、あたらしいオブジェクトをつくるべきか。→参照渡しじゃなくてオブジェクトを作って渡せばOK。
Minecraft Programming
Abstract#
本当は、マイクラ上で作りたかったが、パラメータの表示Addonですら作れなかったので、別の方法を試してみる。例えばUnityとか。Topics#
2D RPG by Unity#
スキル系#
- implement titles and skills
To add “Skills”: Add SkillInventory to MenuWindow, (in inspector of Unity, we can connect script and parameters) Add updateSkills in MainMenu.cs, MenuRoot.cs Add Skills to BattleWindow, I’m wondering why it is not disappeared List<Skill> Skills to BattleParameter.cshey, each skill has level, and each monster and character has its own level. need modification.-> solved. divide skill object.
speed #
main charactor#
Evolution#
etc..#
Reference#