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

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