コード例 #1
0
ファイル: AsyncScene.cs プロジェクト: satlanski2/Aurora-Sim
        public void ForEachSceneEntity(Action <ISceneEntity> action)
        {
            lock (Events)
            {
#if (!ISWIN)
                Events.Add(delegate()
                {
                    m_sceneGraph.ForEachSceneEntity(action);
                });
#else
                Events.Add(() => m_sceneGraph.ForEachSceneEntity(action));
#endif
            }
        }
コード例 #2
0
 public void ForEachSceneEntity(Action <ISceneEntity> action)
 {
     AddAsyncEvent(() => m_sceneGraph.ForEachSceneEntity(action));
 }
コード例 #3
0
ファイル: Scene.cs プロジェクト: sonjamichelle/WhiteCore-Dev
 public void ForEachSceneEntity(Action <ISceneEntity> action)
 {
     m_sceneGraph.ForEachSceneEntity(action);
 }