コード例 #1
0
        public void Awake()
        {
            RuntimeObjectRootComponent l_rootComponent = RuntimeObjectRootComponent.FindRootRuntimeObjectComponent(this);

            m_collider = GetComponent <Collider>();
            RuntimeObjectContainer.RuntimeObjectsByCollider.Add(m_collider, l_rootComponent.m_InstanciatedRuntimeObject);
        }
コード例 #2
0
 public virtual void Awake()
 {
     RuntimeObject = RuntimeObjectRootComponent.FindRootRuntimeObjectComponent(this).m_InstanciatedRuntimeObject;
     RuntimeObject.AddChildComponent(this);
 }