12345678910111213141516171819202122232425 |
- using Blue;
- using UnityEngine;
- public class GetObjectSystem : SingletonMonobehaviour<GetObjectSystem>
- {
- [SerializeField] private GameObject mesh_test;
- [SerializeField] private GameObject ARSpaceForAll;
- private void Awake()
- {
- GetObj();
- PushIOC();
- }
- private void GetObj()
- {
- mesh_test = GameObject.Find("ARSpaceForAll/mesh_test");
- ARSpaceForAll = GameObject.Find("ARSpaceForAll");
- }
- private void PushIOC()
- {
- SceneIOCContainer.Instance.Push("mesh_test",mesh_test);
- SceneIOCContainer.Instance.Push("ARSpaceForAll",ARSpaceForAll);
- }
- }
|