private void ComponentOnNavigationMeshChanged(object sender, EventArgs eventArgs)
 {
     if (KeyIndex.TryGetValue((NavigationComponent)sender, out int index))
     {
         UpdateNavigationMesh(ComponentDataValues[index]);
     }
 }
Beispiel #2
0
        public AnimationClipResult GetAnimationClipResult(AnimationComponent animationComponent)
        {
            if (KeyIndex.TryGetValue(animationComponent, out int index) == false)
            {
                return(null);
            }

            return(ComponentDataValues[index].AnimationClipResult);
        }
Beispiel #3
0
 public RenderLight GetRenderLight(LightComponent lightComponent)
 {
     return(KeyIndex.TryGetValue(lightComponent, out int index) ? ComponentDataValues[index] : null);
 }