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

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