private void Awake() { StaticBatchingRoot = GetComponentInParent <StaticBatchingRoot>(); StaticBatchingRoot.AddObject(this, RebakeOnAwake); }
private void Awake() { StaticBatchingRoot = GetComponentInParent<StaticBatchingRoot>(); StaticBatchingRoot.AddObject(this, RebakeOnAwake); }