Re: Equipment Pack Editor missing?

#7
need to rewrite code.
1
create a EquipmentPack Manager Component . it is Singleton. it contains weapon information, such as mesh, particle, ammo, speed , and change weapon function.

2 drag a empty entity into scene, add EquipmentPack Manager Component to it.

3 write a ChangeEquip Component , write change function contains request previous EquipmentPack Manager Component,

4 add ChangeEquip Component to player entity, player component write some key binding to call ChangeEquip Component change .

Who is online

Users browsing this forum: No registered users and 1 guest