private void ComponentOnNavigationMeshChanged(object sender, EventArgs eventArgs) { if (KeyIndex.TryGetValue((NavigationComponent)sender, out int index)) { UpdateNavigationMesh(ComponentDataValues[index]); } }
public AnimationClipResult GetAnimationClipResult(AnimationComponent animationComponent) { if (KeyIndex.TryGetValue(animationComponent, out int index) == false) { return(null); } return(ComponentDataValues[index].AnimationClipResult); }
public RenderLight GetRenderLight(LightComponent lightComponent) { return(KeyIndex.TryGetValue(lightComponent, out int index) ? ComponentDataValues[index] : null); }