Skip to content

heikun288/HighPerformanceDamageText-Unity3D

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

Welcome to HighPerformanceDamageText!

This is an article that introduce how to use the Unity Package High Performance Damage Text and compare performance with UGUI.

How To Use

video tutorial

click here

Steps:

1.Import damage text font files

import_font_file

2.Edit damage text animation prefab

edit_animation_prefab

3.Set render camera and animation key

animation_setting animation_setting

4.Call function ShowDamageText(key, content, transform)

call_function

Render Order

order in damage texts

sorting_order_1 exp > attack > hit

sorting_order_2 hit > exp > attack

order in ui

sorting_order_with_ui_1 sorting_order_with_ui_2 hit > exp > attack > ui picture

sorting_order_with_ui_3 hit > exp > ui picture > attack

sorting_order_with_ui_4 hit > ui picture > exp > attack

sorting_order_with_ui_5 ui picture > hit > exp > attack

Performance Test

add 100 players and each player displays damage text every 0.2 seconds.

Show 100 damage text in a meantime

[HighPerformanceDamageText] show_damage_100 [UGUI] show_damage_100_ugui

Update damage text animation

[HighPerformanceDamageText] update_animation [UGUI] update_animation_ugui

Update

Support screen space

screen_space

Releases

No releases published

Packages

No packages published