يا شباب انا عندي سكربت في السي شارب لجمع النقاط وهو شغال 100%
بس انا محتاج اعرف كيف اعمل GUI SKIN لهذه النقاط
وهذا هو السكربت
بسرعة يا شباب
بس انا محتاج اعرف كيف اعمل GUI SKIN لهذه النقاط
وهذا هو السكربت
كود:
using UnityEngine;using System.Collections; public class take : MonoBehaviour { public string message; // Use this for initialization void Start () { } // Update is called once per frame void Update () { } void OnTriggerEnter(Collider Others) { if (Others.tag == "Player") { Others.gameObject.SendMessage(message,SendMessageOptions.DontRequireReceiver); Destroy(gameObject); } } }
تعليق