ReporterGUI.cs 229 B

12345678910111213141516
  1. using UnityEngine;
  2. using System.Collections;
  3. public class ReporterGUI : MonoBehaviour
  4. {
  5. Reporter reporter;
  6. void Awake()
  7. {
  8. reporter = gameObject.GetComponent<Reporter>();
  9. }
  10. void OnGUI()
  11. {
  12. reporter.OnGUIDraw();
  13. }
  14. }