示例#1
0
        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
 public void ForEachSceneEntity(Action <ISceneEntity> action)
 {
     m_sceneGraph.ForEachSceneEntity(action);
 }