1
Other Packages / Re: NGUI: HUD Text
« on: February 10, 2014, 05:14:46 AM »
return null Works the same...
I've tried this way
And again the same bug, what the heck
no way to achieve hud text with animation call?
I've tried this way
- public GameObject enemy;
- private bool show;
- void Update () {
- Debug.Log(show);
- if(show)
- {
- enemy.SendMessage("Damage", 15);
- }
- }
- void EventCall()
- {
- StartCoroutine("Damage");
- }
- public IEnumerator Damage()
- {
- show = true;
- yield return null;
- show = false;
- }
no way to achieve hud text with animation call?
