Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using UnityEngine;
- using UnityEngine.UI;
- public class CreateRadarObject : MonoBehaviour
- {
- public Image image;
- private void Start()
- {
- Radar.RegisterRadarObject(this.gameObject, image);
- }
- private void OnDestroy()
- {
- Radar.RemoveRadarObject(this.gameObject);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment