public void Awake() { RuntimeObjectRootComponent l_rootComponent = RuntimeObjectRootComponent.FindRootRuntimeObjectComponent(this); m_collider = GetComponent <Collider>(); RuntimeObjectContainer.RuntimeObjectsByCollider.Add(m_collider, l_rootComponent.m_InstanciatedRuntimeObject); }
public virtual void Awake() { RuntimeObject = RuntimeObjectRootComponent.FindRootRuntimeObjectComponent(this).m_InstanciatedRuntimeObject; RuntimeObject.AddChildComponent(this); }