RawImageDeviceManager.cs 598 B

1234567891011121314151617181920212223
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. using UnityEngine.UI;
  5. public class RawImageDeviceManager : MonoBehaviour
  6. {
  7. public int Radius = 10;
  8. private void Start()
  9. {
  10. ProcedurM2Image p2image = this.GetComponent<ProcedurM2Image>();
  11. if(p2image!=null)
  12. {
  13. p2image.Radius = Radius;
  14. Debug.Log("ProcedurM2Image");
  15. }
  16. ProceduralYuanImage Yuanimage = this.GetComponent<ProceduralYuanImage>();
  17. if (Yuanimage != null)
  18. {
  19. Debug.Log("ProceduralYuanImage");
  20. }
  21. }
  22. }