Exemple #1
0
        /// <summary>returns list of objects in volume or (max 128).</summary>
        public GameObjectList volume_return_objects_by_type(ITriggerVolume trigger_volume, int value)
        {
            var items = trigger_volume.GetObjects((TypeFlags)value);

            return(new GameObjectList(items));
        }
Exemple #2
0
        /// <summary>returns list of objects in volume or (max 128).</summary>
        public GameObjectList volume_return_objects(ITriggerVolume trigger_volume)
        {
            var items = trigger_volume.GetObjects();

            return(new GameObjectList(items));
        }