gameover.blog.ir
using UnityEngine; using System.Collections; using UnityEngine.UI; //author:sajjad3011 //gameover.blog.ir public class pashidanKhoon : MonoBehaviour { public Image imgBlood; void OnCollisionEnter(Collision other) { if(other.gameObject.tag=="enemy") { imgBlood.gameObject.SetActive(true); } } }
اینم فیلم آموزشی:

برچسب:
نویسنده: ایلیا حیدری